We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d9a1b0 commit 0e19aeeCopy full SHA for 0e19aee
sendpush/index.js
@@ -85,10 +85,10 @@ class Chat21Push {
85
forcenotification = message.attributes.forcenotification;
86
logger.log('forcenotification', forcenotification);
87
}
88
- if (message.status != MessageConstants.CHAT_MESSAGE_STATUS_CODE.SENT) {
89
- logger.log('message.status != MessageConstants.CHAT_MESSAGE_STATUS_CODE.SENT');
90
- return 0;
91
- }
+ // if (message.status != MessageConstants.CHAT_MESSAGE_STATUS_CODE.SENT) {
+ // logger.log('message.status != MessageConstants.CHAT_MESSAGE_STATUS_CODE.SENT');
+ // return 0;
+ // }
92
if (sender_id == "system") {
93
logger.log('do not send push notification if "system" is the sender');
94
return 0;
0 commit comments