REQ-3201: fix bug

This commit is contained in:
yanglin 2024-12-18 10:17:00 +08:00
parent 05f390f860
commit f82aba57a7

View File

@ -45,7 +45,7 @@ public class CardGroup {
return getCards().stream().map(Card::getReceiverPersonId)
.filter(personId -> {
PushDevice device = deviceSnapshots.getDevice(personId);
return device.shouldPush(appType, PushChannel.NIM);
return !device.shouldPush(appType, PushChannel.NIM);
})
.map(personId -> {
ExcludePushPayload exclude = new ExcludePushPayload();