matrix-org / synapse

Synapse: Matrix homeserver written in Python/Twisted.
https://matrix-org.github.io/synapse
Apache License 2.0
11.82k stars 2.13k forks source link

Error when trying to join an empty room should be more explicit (SYN-678) #1533

Open matrixbot opened 8 years ago

matrixbot commented 8 years ago

Submitted by @​matthew:matrix.org It is currently {"errcode":"M_UNKNOWN","error":"No known servers"} - i am having to string match on the error message to display a more coherent one in Vector :(

(Imported from https://matrix.org/jira/browse/SYN-678)

richvdh commented 7 years ago

FTR, I ripped out the string matching in vector because frankly "you cannot rejoin an empty room" was worse when the room wasn't empty.

We get this error when:

heyakyra commented 7 years ago

If i get this error "Failed to join room Internal server error" when trying to join a room on the same server, is this the cause? Or would the error say "No known servers" as it says in the bug