mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
group owner
This commit is contained in:
parent
0ac4dbfa34
commit
7805f12dc5
@ -188,7 +188,7 @@ func GetGroupOwnerByGroupId(groupId string) string {
|
||||
return ""
|
||||
}
|
||||
for _, v := range omList {
|
||||
if v.AdministratorLevel == 2 {
|
||||
if v.AdministratorLevel == 1 {
|
||||
return v.Uid
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user