Page MenuHomePhabricator

Send badgeOnly notifications in the same order as they were encrypted
ClosedPublic

Authored by marcin on Nov 10 2023, 7:19 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 25, 6:21 PM
Unknown Object (File)
Oct 29 2024, 10:39 AM
Unknown Object (File)
Oct 29 2024, 10:29 AM
Unknown Object (File)
Oct 29 2024, 7:45 AM
Unknown Object (File)
Oct 29 2024, 7:36 AM
Unknown Object (File)
Oct 29 2024, 5:16 AM
Unknown Object (File)
Oct 27 2024, 8:54 PM
Unknown Object (File)
Oct 14 2024, 10:18 PM
Subscribers

Details

Summary

This differential repeats functionality implemented in parent differential but for badgeOnly notifications.

Test Plan

The same as for parent differential but for badgeOnly notifs.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ashoat added inline comments.
keyserver/src/push/send.js
1576 ↗(On Diff #33071)

Can you add a Flow annotation to this collection to save me some work on the Flow upgrade?

1590 ↗(On Diff #33071)

Why is the variable still named deliveryPromise?

1707 ↗(On Diff #33071)

Please separate out the .flat() call – await should appear as the first keyword in a statement, or as the first keyword on the right hand side of an assignment. Always avoid adding calls after the await on the same line like this

This revision is now accepted and ready to land.Nov 10 2023, 12:52 PM
  1. Address JS code quality issues.
  2. Improve typing of arrays.
keyserver/src/push/send.js
1695–1710 ↗(On Diff #33117)

Seems like these maps can be combined

Merge two map into one when preparing badgeOnly notifications for macos.