Page MenuHomePhabricator

[keyserver][lib] Allow notificationTexts to return null
ClosedPublic

Authored by ashoat on Mar 2 2023, 2:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 27, 2:33 PM
Unknown Object (File)
Sat, Oct 19, 5:03 PM
Unknown Object (File)
Fri, Oct 18, 5:44 PM
Unknown Object (File)
Fri, Oct 18, 9:51 AM
Unknown Object (File)
Fri, Oct 18, 9:51 AM
Unknown Object (File)
Fri, Oct 18, 9:51 AM
Unknown Object (File)
Sep 29 2024, 10:03 PM
Unknown Object (File)
Sep 27 2024, 8:52 PM
Subscribers

Details

Summary

In order to decide whether to send a notif, we may need more information than we have at the time generatesNotifs is called.

More concretely: in a later diff, we'll need to make a decision on whether to send a notif based on the contents of an earlier message with the same collapse key.

Depends on D6935

Test Plan

Flow, and tested in combination with the next diffs to confirm that getting @-tagged in a message that triggers the creation of a sidebar will update the SIDEBAR_CREATION notif
to be suffixed with "and tagged you"

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Mar 2 2023, 2:19 PM
Harbormaster failed remote builds in B17070: Diff 23372!
Harbormaster returned this revision to the author for changes because remote builds failed.Mar 2 2023, 3:45 PM
Harbormaster failed remote builds in B17076: Diff 23380!
ashoat requested review of this revision.Mar 2 2023, 3:51 PM
This revision is now accepted and ready to land.Mar 3 2023, 11:01 AM