diff --git a/lib/shared/messages/multimedia-message-spec.js b/lib/shared/messages/multimedia-message-spec.js --- a/lib/shared/messages/multimedia-message-spec.js +++ b/lib/shared/messages/multimedia-message-spec.js @@ -315,7 +315,10 @@ ); }, - generatesNotifs: async () => pushTypes.NOTIF, + generatesNotifs: async ( + rawMessageInfo: RawMediaMessageInfo | RawImagesMessageInfo, + messageData: MediaMessageData | ImagesMessageData, + ) => (messageData.sidebarCreation ? undefined : pushTypes.NOTIF), includedInRepliesCount: true, }); diff --git a/lib/shared/messages/text-message-spec.js b/lib/shared/messages/text-message-spec.js --- a/lib/shared/messages/text-message-spec.js +++ b/lib/shared/messages/text-message-spec.js @@ -202,7 +202,10 @@ } }, - generatesNotifs: async () => pushTypes.NOTIF, + generatesNotifs: async ( + rawMessageInfo: RawTextMessageInfo, + messageData: TextMessageData, + ) => (messageData.sidebarCreation ? undefined : pushTypes.NOTIF), includedInRepliesCount: true, });