More logging

This commit is contained in:
Neil Alexander 2021-11-09 15:03:35 +00:00
parent 20e96f5332
commit f3e83c1a07
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
2 changed files with 8 additions and 4 deletions

View file

@ -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
}
}