mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-07-31 21:32:46 +00:00
More logging
This commit is contained in:
parent
20e96f5332
commit
f3e83c1a07
2 changed files with 8 additions and 4 deletions
|
@ -102,10 +102,6 @@ func JoinRoomByIDOrAlias(
|
|||
JSON: jsonerror.Unknown("The room join will continue in the background."),
|
||||
}
|
||||
case result := <-done:
|
||||
if !result.Is2xx() {
|
||||
// The only error code in the spec for CS /join is 403.
|
||||
result.Code = http.StatusForbidden
|
||||
}
|
||||
return result
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue