Page MenuHomePhabricator

D6798.id22835.diff
No OneTemporary

D6798.id22835.diff

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,
});

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 17, 12:38 AM (21 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2505941
Default Alt Text
D6798.id22835.diff (1 KB)

Event Timeline