mirror of
https://github.com/element-hq/synapse.git
synced 2026-08-16 19:50:55 +00:00
Fixes rescinding and denying knocks over federation (#18030): - Remember the server that fulfilled our /send_knock in a new local_knock_via_servers table. - Route a rescission of the knock (make_leave/send_leave) through that server, instead of only rescinding locally. - Send a leave/ban denying a knock to the knocking user's server (the same mechanism as invite rescissions), and accept such an event as an out-of-band retraction on the knocking server when it references the knock in its auth events and comes from the server we knocked through (or the denying user's own server). Gated behind the experimental msc4233_enabled flag. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Uk8aPxHn3BHCe52L226jdG