Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33385053
D13522.1768966725.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D13522.1768966725.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 21, 3:38 AM (18 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5966307
Default Alt Text
D13522.1768966725.diff (1 KB)
Attached To
Mode
D13522: [lib] Make NotificationsCreationData read-only
Attached
Detach File
Event Timeline
Log In to Comment