Skip to content

Invite dialog should understand m.federate: false and hide external users. #22102

Closed
matrix-org/matrix-react-sdk
#9618
@turt2live

Description

@turt2live

Your use case

What would you like to do?

When opening the invite dialog for a local server only room (m.federate: false in the create event), I should not see suggestions for users who I can't send invites to.

Why would you like to do it?

So I don't get confusing errors when I try to invite those users.

How would you like to achieve it?

Hide any automatic suggestions, but possibly if I search for a user then a little UI hint to say that the user is external and won't be able to join. Similar to gmail's "This user is external to your organization - be careful!" note.

Have you considered any alternatives?

No response

Additional context

Split from #18792

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-FederationA-InviteO-UncommonMost users are unlikely to come across this or unexpected workflowS-MinorImpairs non-critical functionality or suitable workarounds existT-EnhancementX-Needs-ProductMore input needed from the Product team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions