element-hq / element-web

A glossy Matrix collaboration client for the web.
https://element.io
Apache License 2.0
10.74k stars 1.89k forks source link

Behaviour when trying to DM a federated user on a server with federation disabled is awful #27438

Closed ara4n closed 3 weeks ago

ara4n commented 3 weeks ago

Steps to reproduce

  1. Logged into the OIDC test lab
  2. Tried to DM myself on matrix.org (see also https://github.com/element-hq/element-web/issues/27437)
  3. Got an ambiguous "failed" error in the proto DM.
  4. Tried again, which created a new proto DM.
  5. Restarted the app
  6. Now have two proto-dms in the room list, which provide a 'join' button.
  7. Hitting the join button produces a fugly error complaining about trying to call /join on a local+... room ID.

Outcome

What did you expect?

What happened instead?

Operating system

No response

Browser information

No response

URL for webapp

https://pr12370--matrix-react-sdk.netlify.app/

Application version

No response

Homeserver

No response

Will you send logs?

No

t3chguy commented 3 weeks ago

Duplicate of https://github.com/element-hq/element-web/issues/24991