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