"Something went wrong!" when viewing an invite created by a facebook bridge.
Steps to reproduce
- A facebook friend starts a new conversation with me in Facebook Messenger.
- Facebook bridge creates a new matrix room and invites me to join it.
- I see "Empty room" among the "Invites" in the Element UI.
- I click on the "Empty room"
The bridge is mautrix-facebook version 0.3.3, https://github.com/mautrix/facebook
Outcome
What did you expect?
I expect an option to accept the invite.
What happened instead?
I see "Something went wrong!" screen.
Operating system
Windows
Application version
Element version: 1.10.15 Olm version: 3.2.8
How did you install the app?
No response
Homeserver
Dendrite 0.8.7 compiled locally, running in "monolith" mode.
Will you send logs?
Yes
Somewhere in Settings I found an "Accept all invites" button. Using this button, the invite is accepted and I can see the new room.
The debug logs have caught the problem here - element is crashing because mautrix-facebook hasn't included some info in the invite. Element should probably not crash in this scenario.
@dbkr What info? Clients/bridges only have control over the content of the invite event, which is basically just the invitee's profile (displayname and avatar_url) and the is_direct flag. Everything else (like invite_room_state in unsigned) is the homeserver's responsibility.
I face the same issue with mautrix-signal. I can accept the invite when using nheko without problems, but not with element-web. So it seems that this is indeed a problem with element and not with the bridge.
Fixed by https://github.com/element-hq/element-web/commit/74d30187a46b288aefcc746a5c83645f537f551d