Skip to content

Commit 0e19aee

Browse files
committed
fix sendpush
1 parent 9d9a1b0 commit 0e19aee

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sendpush/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ class Chat21Push {
8585
forcenotification = message.attributes.forcenotification;
8686
logger.log('forcenotification', forcenotification);
8787
}
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-
}
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+
// }
9292
if (sender_id == "system") {
9393
logger.log('do not send push notification if "system" is the sender');
9494
return 0;

0 commit comments

Comments
 (0)