bug: Invite filtering rejects invites with the wrong error code #2457

Closed
opened 2026-11-04 18:06:15 +00:00 by nex · 1 comment
Owner

What is the bug?

Per MSC4155, invites should be rejected with HTTP 403, but continuwuity currently rejects them with HTTP 400: image

Steps to reproduce

  1. Create a room
  2. Try to invite someone who blocked you
  3. Receive 400 instead of 403 (error code is correct though)

Server name and version

N/A 26.9.1 d2eeae34a

Additional context

No response

### What is the bug? Per MSC4155, [invites should be rejected with HTTP 403](https://github.com/Johennes/matrix-spec-proposals/blob/johannes/invite-filtering/proposals/4155-invite-filtering.md#:~:text=The%20error%20SHOULD%20be%20M%5FINVITE%5FBLOCKED%20with%20a%20HTTP%20403%20status%20code), but continuwuity currently rejects them with HTTP 400: ![image](/attachments/6487af68-8788-49d4-8a5f-349396744b01) ### Steps to reproduce 1. Create a room 2. Try to invite someone who blocked you 3. Receive 400 instead of 403 (error code is correct though) ### Server name and version N/A 26.9.1 d2eeae34a ### Additional context _No response_
Author
Owner

This was fixed by !2451

This was fixed by !2451
nex closed this issue 2026-11-05 20:44:14 +00:00
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
continuwuation/continuwuity#2457
No description provided.