Browse Source

update

master
DengBiao 1 year ago
parent
commit
3dc939034f
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      internal/logic/app/group_app.go

+ 3
- 0
internal/logic/app/group_app.go View File

@@ -202,6 +202,9 @@ func (*groupApp) DeleteMember(ctx context.Context, groupId int64, userId int64,
return err
}

if userId == optId { //自己退出群聊,无需发送消息
return nil
}
err = group.PushDeleteMember(ctx, optId, userId)
if err != nil {
return err


Loading…
Cancel
Save