|
|
@ -100,7 +100,7 @@ func (m *msgServer) messageVerification(ctx context.Context, data *msg.SendMsgRe
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if groupInfo.Status == constant.GroupStatusDismissed && data.MsgData.ContentType != constant.GroupDismissedNotification {
|
|
|
|
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 {
|
|
|
|
if groupInfo.GroupType == constant.SuperGroup {
|
|
|
|
return nil, nil
|
|
|
|
return nil, nil
|
|
|
|