fix: remove unnecessary error handling to avoid sending failed notifications.

This commit is contained in:
Gordon 2024-03-06 18:48:16 +08:00
parent c79f46f8a3
commit 29761497a8

View File

@ -250,9 +250,6 @@ func (g *GroupNotificationSender) fillOpUser(ctx context.Context, opUser **sdkws
if opUser == nil {
return errs.ErrInternalServer.Wrap("**sdkws.GroupMemberFullInfo is nil")
}
if *opUser != nil {
return errs.ErrArgs.Wrap("*opUser is not nil")
}
userID := mcontext.GetOpUserID(ctx)
if groupID != "" {
if authverify.IsManagerUserID(userID, g.config) {