From 2dab70697cc90194cc016658d9c42f0d85596829 Mon Sep 17 00:00:00 2001 From: skiffer-git <44203734@qq.com> Date: Mon, 12 Dec 2022 14:46:49 +0800 Subject: [PATCH] set group member ex == "" if ex == nil --- internal/rpc/group/group.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/rpc/group/group.go b/internal/rpc/group/group.go index 2b1f2224d..64cddba02 100644 --- a/internal/rpc/group/group.go +++ b/internal/rpc/group/group.go @@ -1822,7 +1822,7 @@ func (s *groupServer) SetGroupMemberInfo(ctx context.Context, req *pbGroup.SetGr if req.Ex != nil { m["ex"] = req.Ex.Value } else { - m["ex"] = "" + m["ex"] = nil } err = imdb.UpdateGroupMemberInfoByMap(groupMember, m) if err != nil {