fix(federation): re-invite after ban
Merged
SA
6mo ago+204+204+012345678901234567890123456789-6-6-0123456789
Proposed changes (including videos or screenshots)
Issue(s)
Steps to test or reproduce
Further comments
Summary by CodeRabbit
-
New Features
- Allow restoring previously banned users to an invited state so they can rejoin federated rooms.
-
Bug Fixes
- Better handling of out-of-order invite/join/leave events, including treating certain leaves as unbans.
- Require invites from registered users and correctly reprocess invites for banned subscriptions.
-
Tests
- Added end-to-end test covering ban, re-invite/unban, and messaging across federation.
-
Chores
- Added release note entry for the patch.