When trying to mention a room we want to display the auto-complete widget with the matching reports when the mention is happening in a report that belongs to a policy.
- The room mention starts with
#
- The auto-complete widget will show only rooms that belong to the same policy that the mention is happening and that includes what is being typed
- If a mention starts in a room that doesn't belong to a policy we won't show the auto-complete widget
Details can be found here in the Mentions V2 design doc.