From 22a93d814cebdbfa13392c5009e5e6dc01df45b5 Mon Sep 17 00:00:00 2001 From: withchao <993506633@qq.com> Date: Fri, 19 May 2023 20:02:19 +0800 Subject: [PATCH] DismissGroup --- internal/rpc/group/group.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/rpc/group/group.go b/internal/rpc/group/group.go index 98e77b785..87bc36d54 100644 --- a/internal/rpc/group/group.go +++ b/internal/rpc/group/group.go @@ -1068,9 +1068,9 @@ func (s *groupServer) DismissGroup(ctx context.Context, req *pbGroup.DismissGrou if err != nil { return nil, err } - if group.Status == constant.GroupStatusDismissed { - return nil, errs.ErrArgs.Wrap("group status is dismissed") - } + //if group.Status == constant.GroupStatusDismissed { + // return nil, errs.ErrArgs.Wrap("group status is dismissed") + //} if err := s.GroupDatabase.DismissGroup(ctx, req.GroupID, req.DeleteMember); err != nil { return nil, err }