From 52ddc4f05bce1a9ef0eca2c61e8cb18be9cd4fd3 Mon Sep 17 00:00:00 2001 From: OpenIM-Gordon <46924906+FGadvancer@users.noreply.github.com> Date: Wed, 6 Mar 2024 19:04:31 +0800 Subject: [PATCH] fix: remove unnecessary error handling to avoid sending failed notifications. (#2009) --- pkg/rpcclient/notification/group.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkg/rpcclient/notification/group.go b/pkg/rpcclient/notification/group.go index 5fd794be2..c72aa839b 100644 --- a/pkg/rpcclient/notification/group.go +++ b/pkg/rpcclient/notification/group.go @@ -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) {