HomePhabricator
Diffusion Comm 0e3776a47f81

[lib] Extract notifTextsForSidebarCreation

Description

[lib] Extract notifTextsForSidebarCreation

Summary:
In a later diff, we'll introduce a new callsite for this from text-message-spec.js.

Depends on D6936

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"

Reviewers: atul

Reviewed By: atul

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D6937

Details

Provenance
ashoatAuthored on Feb 28 2023, 3:51 PM
Reviewer
atul
Differential Revision
D6937: [lib] Extract notifTextsForSidebarCreation
Parents
rCOMMcd53fa783f4a: [keyserver][lib] Allow notificationTexts to return null
Branches
Unknown
Tags
Unknown