mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 04:37:00 +00:00
fix: unauthorized pdus will be responded to with FORBIDDEN
This commit is contained in:
3 files changed
+6
-12
No files matched your search
@@ -1309,7 +1309,7 @@ impl Rooms {
|
||||
|
||||
if !auth_check {
|
||||
return Err(Error::BadRequest(
|
||||
ErrorKind::InvalidParam,
|
||||
ErrorKind::Forbidden,
|
||||
"Event is not authorized.",
|
||||
));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user