mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-08 05:27:03 +08:00
fix: NotNotifyUser receive offline push
This commit is contained in:
parent
38ab3e0ed7
commit
20623a826e
@ -222,7 +222,8 @@ func (p *Pusher) Push2SuperGroup(ctx context.Context, groupID string, msg *sdkws
|
||||
// log.ZError(ctx, "GetRecvMsgNotNotifyUserIDs failed", err, "groupID", groupID)
|
||||
return err
|
||||
}
|
||||
needOfflinePushUserIDs = utils.DifferenceString(notNotificationUserIDs, needOfflinePushUserIDs)
|
||||
// todo => utils.ExceptString(needOfflinePushUserIDs, notNotificationUserIDs)
|
||||
needOfflinePushUserIDs = utils.IntersectString(utils.DifferenceString(notNotificationUserIDs, needOfflinePushUserIDs), needOfflinePushUserIDs)
|
||||
}
|
||||
// Use offline push messaging
|
||||
if len(needOfflinePushUserIDs) > 0 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user