From 89ae83850a414776a6461c9b85b95e28780967b0 Mon Sep 17 00:00:00 2001 From: Gordon <1432970085@qq.com> Date: Mon, 5 Jun 2023 17:39:45 +0800 Subject: [PATCH] fix: message add dismissed err --- internal/rpc/msg/verify.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/rpc/msg/verify.go b/internal/rpc/msg/verify.go index 5a190bbe3..e63c8ef54 100644 --- a/internal/rpc/msg/verify.go +++ b/internal/rpc/msg/verify.go @@ -100,7 +100,7 @@ func (m *msgServer) messageVerification(ctx context.Context, data *msg.SendMsgRe return nil, err } if groupInfo.Status == constant.GroupStatusDismissed && data.MsgData.ContentType != constant.GroupDismissedNotification { - return nil, errs.ErrArgs.Wrap("group is dismissed") + return nil, errs.ErrDismissedAlready.Wrap() } if groupInfo.GroupType == constant.SuperGroup { return nil, nil