This has two benefits:
- Avoids calling await getMessageNotifyType twice for every message.
- Exposes messageNotifyType to the callsite, which is necessary for a later diff.
Depends on D14334
Paths
| Differential D14335 Authored by ashoat on Feb 11 2025, 12:12 AM.
Details Summary This has two benefits:
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
Event TimelineHarbormaster completed remote builds in B33451: Diff 46983.Feb 11 2025, 1:05 AM2025-02-11 01:05:31 (UTC-8) This revision is now accepted and ready to land.Feb 11 2025, 9:23 AM2025-02-11 09:23:36 (UTC-8) Closed by commit rCOMMbadaf89528b0: [keyserver][lib] Split generateNotifUserInfoPromise into two (authored by ashoat). · Explain WhyFeb 12 2025, 5:59 AM2025-02-12 05:59:10 (UTC-8) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 46983 keyserver/src/creators/message-creator.js
lib/push/send-utils.js
lib/push/utils.js
|