mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-04-28 14:29:19 +08:00
set group member ex == "" if ex == nil
This commit is contained in:
@@ -1821,6 +1821,8 @@ func (s *groupServer) SetGroupMemberInfo(ctx context.Context, req *pbGroup.SetGr
|
||||
}
|
||||
if req.Ex != nil {
|
||||
m["ex"] = req.Ex.Value
|
||||
} else {
|
||||
m["ex"] = ""
|
||||
}
|
||||
err = imdb.UpdateGroupMemberInfoByMap(groupMember, m)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user