Skip to content

Joining a room silently fails and spins together if you try to join an invalid alias #25562

Description

@ara4n

Steps to reproduce

  1. try to join a plausible but invalid alias - e.g. /join #element-x-android:matrix.org
  2. stare at a spinner forever
  3. open the JS console
  4. observe:
rageshake.ts:74 RVS failed to get room id for alias:  M_NOT_FOUND: MatrixError: [404] Room alias #element-x-android:matrix.org not found (https://matrix-client.matrix.org/_matrix/client/r0/directory/room/%23element-x-android%3Amatrix.org)
    at parseErrorResponse (vector://vector/webapp/bundles/b1ea595fc68640b2e59a/bundle.js:114477:12)
    at MatrixHttpApi.requestOtherUrl (vector://vector/webapp/bundles/b1ea595fc68640b2e59a/bundle.js:215854:86)
consoleObj.<computed> @ rageshake.ts:74
00:10:44.268 

Outcome

What did you expect?

/join should not silently fail.

Operating system

No response

Application version

Element Nightly version: 2023061101 Olm version: 3.2.14

How did you install the app?

No response

Homeserver

matrix.org

Will you send logs?

No

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

O-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MajorSeverely degrades major functionality or product features, with no satisfactory workaroundT-Defect

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions