ban -> unban -> invite -> join is illegal in v12 rooms with a non-public join rule, no matter who issues the first three #1093

Open
opened 2025-09-30 16:09:20 +00:00 by nex · 0 comments
Owner

The ban -> unban -> invite appears to be fine, but as soon as the invitee accepts the invite to the room, their join soft fails, and they remain in an invited state. It appears as if continuwuity is prioritising the leave membership caused by the unban action over the invite one when checking the join against current state.

State res trace logs attached. issue is not federation exclusive, the state does not resolve correctly on the origin server either.

The ban -> unban -> invite appears to be fine, but as soon as the invitee accepts the invite to the room, their join soft fails, and they remain in an invited state. It appears as if continuwuity is prioritising the `leave` membership caused by the `unban` action over the `invite` one when checking the join against current state. State res trace logs attached. issue is not federation exclusive, the state does not resolve correctly on the origin server either.
nex added this to the 0.5.0 milestone 2025-09-30 16:09:20 +00:00
nex self-assigned this 2025-09-30 16:09:20 +00:00
nex added reference nex/fix/event-auth 2025-10-12 19:50:36 +00:00
Sign in to join this conversation.
No milestone
No project
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#1093
No description provided.