Page MenuHomePhabricator

D6798.diff
No OneTemporary

D6798.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
Sat, Nov 16, 10:28 PM (21 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2505941
Default Alt Text
D6798.diff (1 KB)

Event Timeline