diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-06-15 07:45:14 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-15 07:45:14 -0400 |
commit | 9e5ab6dd581389271b817d256e2fca113614a080 (patch) | |
tree | 4dff895ddffda0c5935a1a67ac812dc9cc2c21a7 /synapse/api/constants.py | |
parent | Fix 'ip_range_whitelist' not working for federation servers (#10115) (diff) | |
download | synapse-9e5ab6dd581389271b817d256e2fca113614a080.tar.xz |
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.
Diffstat (limited to 'synapse/api/constants.py')
-rw-r--r-- | synapse/api/constants.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py index 8d5b2177d2..3940da5c88 100644 --- a/synapse/api/constants.py +++ b/synapse/api/constants.py @@ -41,7 +41,7 @@ class Membership: INVITE = "invite" JOIN = "join" - KNOCK = "xyz.amorgan.knock" + KNOCK = "knock" LEAVE = "leave" BAN = "ban" LIST = (INVITE, JOIN, KNOCK, LEAVE, BAN) @@ -58,7 +58,7 @@ class PresenceState: class JoinRules: PUBLIC = "public" - KNOCK = "xyz.amorgan.knock" + KNOCK = "knock" INVITE = "invite" PRIVATE = "private" # As defined for MSC3083. |