From 1d78b6883128f25ec4d8337fe917a6e7504902fa Mon Sep 17 00:00:00 2001 From: skiffer-git <44203734@qq.com> Date: Fri, 9 Dec 2022 13:18:36 +0800 Subject: [PATCH] set group member ex == "" if ex == nil --- internal/rpc/group/group.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/rpc/group/group.go b/internal/rpc/group/group.go index 064448432..2b1f2224d 100644 --- a/internal/rpc/group/group.go +++ b/internal/rpc/group/group.go @@ -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 {