fix(federation): re-invite after ban

Merged
SA
6mo ago
+204-6

Proposed changes (including videos or screenshots)

Issue(s)

FGA-65

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.