mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 19:02:31 +08:00
fix dismiss group function
This commit is contained in:
parent
62e96753c3
commit
5ebb813766
@ -205,7 +205,7 @@ func (g *groupDatabase) DismissGroup(ctx context.Context, groupID string, delete
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if err := g.groupMemberDB.Delete(ctx, groupID, nil); err != nil {
|
||||
if err := g.groupMemberDB.Delete(ctx, groupID, userIDs); err != nil {
|
||||
return err
|
||||
}
|
||||
c = c.DelJoinedGroupID(userIDs...).
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user