fix: Return a 403 for M_INVITE_BLOCKED

This commit is contained in:
Ginger committed 2025-09-11 16:21:03 +00:00
1 parent b1df6911b3
commit cd92964437
1 file changed
+1
+1
View File
@@ -73,6 +73,7 @@ pub(super) fn bad_request_code(kind: &ErrorKind) -> StatusCode {
| ThreepidAuthFailed
| UserDeactivated
| ThreepidDenied
| InviteBlocked
| WrongRoomKeysVersion { .. }
| Forbidden { .. } => StatusCode::FORBIDDEN,