mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-17 03:43:11 -06:00
Don't refer to non-existent error
This commit is contained in:
parent
cc5d1ee213
commit
1d3ddaeb5f
|
|
@ -135,7 +135,7 @@ func (r *RoomserverInternalAPI) performJoinRoomByID(
|
|||
// room. If it is then there's nothing more to do - the room just
|
||||
// hasn't been created yet.
|
||||
if domain == r.Cfg.Matrix.ServerName {
|
||||
return fmt.Errorf("error trying to join %q room: %w", req.RoomIDOrAlias, derr)
|
||||
return fmt.Errorf("room ID %q does not exist", req.RoomIDOrAlias)
|
||||
}
|
||||
|
||||
// Try joining by all of the supplied server names.
|
||||
|
|
|
|||
Loading…
Reference in a new issue