diff --git a/js/models/messages.js b/js/models/messages.js index bb61ab18d..c6ac62c14 100644 --- a/js/models/messages.js +++ b/js/models/messages.js @@ -1061,8 +1061,7 @@ (dataMessage.body || (dataMessage.attachments && dataMessage.attachments.length)) ); - const shouldNotifyPushServer = - hasBodyOrAttachments && isSessionOrClosedMessage; + const shouldNotifyPushServer = hasBodyOrAttachments && !isOurDevice; if (shouldNotifyPushServer) { // notify the push notification server if needed