DismissGroup

test-errcode
withchao 1 year ago
parent b039e56b8a
commit 5ca104c6fe

@ -99,7 +99,7 @@ func (m *msgServer) messageVerification(ctx context.Context, data *msg.SendMsgRe
if err != nil {
return nil, err
}
if groupInfo.Status == constant.GroupStatusDismissed {
if groupInfo.Status == constant.GroupStatusDismissed && data.MsgData.ContentType != constant.GroupDismissedNotification {
return nil, errs.ErrArgs.Wrap("group is dismissed")
}
if groupInfo.GroupType == constant.SuperGroup {

Loading…
Cancel
Save