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
F3389089: D9821.diff
Fri, Nov 29, 5:31 PM
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
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
Branch
marcin/eng-5191-v2
Lint
No Lint Coverage
Unit
No Test Coverage

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.