mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-08-22 13:09:52 +08:00
set group member ex == "" if ex == nil
This commit is contained in:
parent
25a848c4e4
commit
2dab70697c
@ -1822,7 +1822,7 @@ 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 {
|
} else {
|
||||||
m["ex"] = ""
|
m["ex"] = nil
|
||||||
}
|
}
|
||||||
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