element-web icon indicating copy to clipboard operation
element-web copied to clipboard

"Something went wrong!" when viewing an invite created by a facebook bridge.

Open anton-molyboha opened this issue 4 years ago • 5 comments

Steps to reproduce

  1. A facebook friend starts a new conversation with me in Facebook Messenger.
  2. Facebook bridge creates a new matrix room and invites me to join it.
  3. I see "Empty room" among the "Invites" in the Element UI.
  4. 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

anton-molyboha avatar Jul 01 '22 06:07 anton-molyboha

Somewhere in Settings I found an "Accept all invites" button. Using this button, the invite is accepted and I can see the new room.

anton-molyboha avatar Jul 01 '22 06:07 anton-molyboha

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 avatar Jul 04 '22 10:07 dbkr

@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.

tulir avatar Jul 18 '22 18:07 tulir

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.

sebastian-de avatar Mar 25 '23 12:03 sebastian-de

Fixed by https://github.com/element-hq/element-web/commit/74d30187a46b288aefcc746a5c83645f537f551d

t3chguy avatar Jan 08 '25 10:01 t3chguy