Page MenuHomePhabricator

D13271.id43989.diff
No OneTemporary

D13271.id43989.diff

diff --git a/lib/push/send-utils.js b/lib/push/send-utils.js
--- a/lib/push/send-utils.js
+++ b/lib/push/send-utils.js
@@ -94,7 +94,7 @@
};
export type FetchCollapsableNotifsResult = {
- [userID: string]: CollapsableNotifInfo[],
+ +[userID: string]: CollapsableNotifInfo[],
};
function identityPlatformDetailsToPlatformDetails(
@@ -302,9 +302,9 @@
function pushInfoToCollapsableNotifInfo(pushInfo: PushInfo): {
+usersToCollapseKeysToInfo: {
- [string]: { [string]: CollapsableNotifInfo },
+ +[string]: { +[string]: CollapsableNotifInfo },
},
- +usersToCollapsableNotifInfo: { [string]: Array<CollapsableNotifInfo> },
+ +usersToCollapsableNotifInfo: { +[string]: Array<CollapsableNotifInfo> },
} {
const usersToCollapseKeysToInfo: {
[string]: { [string]: CollapsableNotifInfo },
@@ -348,9 +348,9 @@
function mergeUserToCollapsableInfo(
usersToCollapseKeysToInfo: {
- [string]: { [string]: CollapsableNotifInfo },
+ +[string]: { +[string]: CollapsableNotifInfo },
},
- usersToCollapsableNotifInfo: { [string]: Array<CollapsableNotifInfo> },
+ usersToCollapsableNotifInfo: { +[string]: Array<CollapsableNotifInfo> },
): { [string]: Array<CollapsableNotifInfo> } {
const mergedUsersToCollapsableInfo = { ...usersToCollapsableNotifInfo };
for (const userID in usersToCollapseKeysToInfo) {

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 21, 10:35 PM (18 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2689762
Default Alt Text
D13271.id43989.diff (1 KB)

Event Timeline