mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-05-05 17:56:50 +08:00
set group member ex == "" if ex == nil
This commit is contained in:
parent
f190611bcc
commit
1d78b68831
@ -1821,6 +1821,8 @@ func (s *groupServer) SetGroupMemberInfo(ctx context.Context, req *pbGroup.SetGr
|
|||||||
}
|
}
|
||||||
if req.Ex != nil {
|
if req.Ex != nil {
|
||||||
m["ex"] = req.Ex.Value
|
m["ex"] = req.Ex.Value
|
||||||
|
} else {
|
||||||
|
m["ex"] = ""
|
||||||
}
|
}
|
||||||
err = imdb.UpdateGroupMemberInfoByMap(groupMember, m)
|
err = imdb.UpdateGroupMemberInfoByMap(groupMember, m)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user