-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Cannot invite appservice users which do not (yet) exist #7922
Copy link
Copy link
Closed
Labels
P2S-MajorSeverely degrades major functionality or product features, with no satisfactory workaroundSeverely degrades major functionality or product features, with no satisfactory workaroundT-Defect
Description
Appservices typically follow this sort of flow:
- User invites
@_example_user:localhostto a room. - Homeserver finds out that
@_example_user:localhostdoesn't exist, but is in the namespace for an appservice. - Homeserver queries the appservice so it can create the user
- Appservice creates the user
- Homeserver finishes processing the invite, sending it to the appservice
Recently we added a proof of life check to see if a user exists before proceeding with the invite though (matrix-org/matrix-react-sdk#2317). This fails on Synapse because the user query isn't done, so the request for a profile fails, which means Riot won't try and invite the user, which means the steps above mean nothing because they aren't executed.
TLDR: Synapse needs to hit the appservice's /users endpoint for profile lookups too.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P2S-MajorSeverely degrades major functionality or product features, with no satisfactory workaroundSeverely degrades major functionality or product features, with no satisfactory workaroundT-Defect
Type
Fields
Give feedbackNo fields configured for issues without a type.