Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3333687
D10192.id34271.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
806 B
Referenced Files
None
Subscribers
None
D10192.id34271.diff
View Options
diff --git a/keyserver/src/push/send.js b/keyserver/src/push/send.js
--- a/keyserver/src/push/send.js
+++ b/keyserver/src/push/send.js
@@ -1729,12 +1729,14 @@
const macosVersionsToTokens = byPlatform.get('macos');
if (macosVersionsToTokens) {
for (const [versionKey, deviceInfos] of macosVersionsToTokens) {
- const { codeVersion, stateVersion } = stringToVersionKey(versionKey);
+ const { codeVersion, stateVersion, majorDesktopVersion } =
+ stringToVersionKey(versionKey);
const notification = new apn.Notification();
notification.topic = getAPNsNotificationTopic({
platform: 'macos',
codeVersion,
stateVersion,
+ majorDesktopVersion,
});
notification.badge = unreadCount;
notification.pushType = 'alert';
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 22, 4:49 AM (18 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2560015
Default Alt Text
D10192.id34271.diff (806 B)
Attached To
Mode
D10192: Pass majorDesktopVersion to platformDetails when creating macos badgeonly notifications.
Attached
Detach File
Event Timeline
Log In to Comment