Page MenuHomePhabricator

D13522.diff
No OneTemporary

D13522.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
@@ -1247,8 +1247,8 @@
devices: $ReadOnlyArray<DeviceSessionCreationRequest>,
) => Promise<void>,
+auxUserInfos: AuxUserInfos,
- +rescindData?: { threadID: string },
- +badgeUpdateData?: { threadID: string },
+ +rescindData?: { +threadID: string },
+ +badgeUpdateData?: { +threadID: string },
};
async function prepareOwnDevicesPushNotifs(
@@ -1269,7 +1269,7 @@
return null;
}
- const filteredownDevicesPushInfos =
+ const filteredOwnDevicesPushInfos =
filterDevicesSupportingDMNotifs(ownDevicesPushInfo);
const { senderUserID, senderDeviceDescriptor } = senderInfo;
@@ -1277,14 +1277,14 @@
const userDevices: {
+[userID: string]: $ReadOnlyArray<string>,
} = {
- [senderUserID]: filteredownDevicesPushInfos.devices.map(
+ [senderUserID]: filteredOwnDevicesPushInfos.devices.map(
device => device.cryptoID,
),
};
await createOlmSessionWithDevices(userDevices, olmSessionCreator);
const devicesByPlatform = getDevicesByPlatform(
- filteredownDevicesPushInfos.devices,
+ filteredOwnDevicesPushInfos.devices,
);
if (rescindData) {
diff --git a/lib/types/notif-types.js b/lib/types/notif-types.js
--- a/lib/types/notif-types.js
+++ b/lib/types/notif-types.js
@@ -36,9 +36,9 @@
}>,
}
| {
- +rescindData: { threadID: string },
+ +rescindData: { +threadID: string },
}
- | { +badgeUpdateData: { threadID: string } };
+ | { +badgeUpdateData: { +threadID: string } };
export type SenderDeviceDescriptor =
| { +keyserverID: string }

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 20, 11:22 AM (20 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2544998
Default Alt Text
D13522.diff (1 KB)

Event Timeline