mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-21 02:18:14 -04:00
Remove the experimental flag for knocking and use stable prefixes / endpoints. (#10167)
* Room version 7 for knocking. * Stable prefixes and endpoints (both client and federation) for knocking. * Removes the experimental configuration flag.
This commit is contained in:
parent
aac2c49b9b
commit
9e5ab6dd58
13 changed files with 33 additions and 96 deletions
|
@ -707,10 +707,7 @@ class RoomMemberHandler(metaclass=abc.ABCMeta):
|
|||
knock.event_id, txn_id, requester, content
|
||||
)
|
||||
|
||||
elif (
|
||||
self.config.experimental.msc2403_enabled
|
||||
and effective_membership_state == Membership.KNOCK
|
||||
):
|
||||
elif effective_membership_state == Membership.KNOCK:
|
||||
if not is_host_in_room:
|
||||
# The knock needs to be sent over federation instead
|
||||
remote_room_hosts.append(get_domain_from_id(room_id))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue