HomePhabricator
Diffusion Comm e05a70304be8

[lib] Factor out extractMentionedMembers

Description

[lib] Factor out extractMentionedMembers

Summary:
Need this in the following diff.

Depends on D6801

Test Plan:
I tested this stack with the following steps on both web and native:

  1. Make sure users get auto-added to a sidebar when @-mentioned
  2. Test mentions typeahead and make sure it includes all members of parent
  3. If a user is @-mentioned in a text message that triggers the creation of a sidebar, then make sure they are included in the sidebar creation message
  4. If a user is @-mentioned in a text message that triggers the creation of a sidebar, then make sure their name is bolded from the very start of when the message is visible on-screen

Reviewers: atul

Reviewed By: atul

Subscribers: tomek

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

Details

Provenance
ashoatAuthored on Feb 17 2023, 3:58 PM
Reviewer
atul
Differential Revision
D6802: [lib] Factor out extractMentionedMembers
Parents
rCOMM6250e6985e40: [native][web] Drill parentThreadInfo to InputState.sendTextMessageAction
Branches
Unknown
Tags
Unknown