diff --git a/internal/rpc/group/notification.go b/internal/rpc/group/notification.go index 8217bdcc8..95335b2fc 100644 --- a/internal/rpc/group/notification.go +++ b/internal/rpc/group/notification.go @@ -521,14 +521,15 @@ func (g *NotificationSender) GroupApplicationRejectedNotification(ctx context.Co if err = g.fillOpUser(ctx, &opUser, group.GroupID); err != nil { return } - tips := &sdkws.GroupApplicationRejectedTips{ - Group: group, - OpUser: opUser, - HandleMsg: req.HandledMsg, - Uuid: g.uuid(), - Request: request, - } + uid := g.uuid() for _, userID := range append(userIDs, req.FromUserID) { + tips := &sdkws.GroupApplicationRejectedTips{ + Group: group, + OpUser: opUser, + HandleMsg: req.HandledMsg, + Uuid: uid, + Request: request, + } if userID == req.FromUserID { tips.ReceiverAs = applicantReceiver } else {