Page MenuHomePhabricator

[keyserver][lib] Split generateNotifUserInfoPromise into two
ClosedPublic

Authored by ashoat on Feb 11 2025, 12:12 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 19, 2:32 PM
Unknown Object (File)
Sat, Apr 19, 1:36 AM
Unknown Object (File)
Fri, Apr 18, 9:38 PM
Unknown Object (File)
Fri, Apr 18, 4:47 AM
Unknown Object (File)
Thu, Apr 17, 8:22 PM
Unknown Object (File)
Wed, Apr 9, 8:51 PM
Unknown Object (File)
Mon, Apr 7, 1:36 AM
Unknown Object (File)
Sun, Apr 6, 8:58 AM
Subscribers
None

Details

Summary

This has two benefits:

  1. Avoids calling await getMessageNotifyType twice for every message.
  2. Exposes messageNotifyType to the callsite, which is necessary for a later diff.

Depends on D14334

Test Plan

Tested in combination with later diffs, to confirm that it's possible for some message types to not set a thread to unread

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage