set group member ex == "" if ex == nil

test-errcode
skiffer-git 2 years ago
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…
Cancel
Save