Can't invite user from server that disabled profile lookup over federation #29028
Labels
A-Error-Message
A-Invite
O-Uncommon
Most users are unlikely to come across this or unexpected workflow
T-Defect
Steps to reproduce
allow_profile_lookup_over_federation
tofalse
/invite <mxid>
or an "Invite to this room" button)Outcome
What did you expect?
The user should be invited, despite their profile being unavailable at the time of invitation.
What happened instead?
The invite fails, and a dialog appears with a title of "Failed to invite" and a body of "Unknown server error". Network logs show a 502 response to
GET <homeserver-url>/_matrix/client/v3/profile/<mxid-of-invitee>
, with a payload of{"errcode": "M_UNKNOWN", "error": "Failed to fetch profile"}
.Reconfiguring the Synapse homeserver with
allow_profile_lookup_over_federation: true
allows the invite to work. So it must be that Element Web treats profile availability as a prerequisite to invitation. This was not always the case, as I used to be able to make such invitations.Operating system
No response
Browser information
No response
URL for webapp
No response
Application version
1.11.89
Homeserver
No response
Will you send logs?
No
The text was updated successfully, but these errors were encountered: