Skip to content

Trying to display a blocked room causes infinite "Loading..." loop #24783

Closed
matrix-org/matrix-react-sdk
#11099
@paboum

Description

@paboum

Steps to reproduce

I'm trying to join a room which is blocked on the server.

More specifically, I open a space page which lists some rooms.
When I click "Join", the browser makes a call to _matrix/client/r0/join/{id} which seems fine and I receive a message Failed to join MatrixError: [403] This room has been blocked on this server.

Outcome

However, when I click the room name on that list, meaning I wish to preview it, the browser makes a call to /_matrix/client/v3/rooms/{roomId}/initialSync which returns 403 error.

This, apart from the fact that initialSync seems to be deprecated, causes the UI to display the following indefinitely. I don't think it is even trying to repeat the API call later.
image

Operating system

No response

Browser information

No response

URL for webapp

No response

Application version

Element version: 1.11.24 Olm version: 3.2.12

Homeserver

No response

Will you send logs?

No

Metadata

Metadata

Assignees

Labels

O-UncommonMost users are unlikely to come across this or unexpected workflowS-MinorImpairs non-critical functionality or suitable workarounds existT-Defect

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions