mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-02 22:12:08 -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
|
@ -39,12 +39,10 @@ logger = logging.getLogger(__name__)
|
|||
|
||||
class KnockRoomAliasServlet(RestServlet):
|
||||
"""
|
||||
POST /xyz.amorgan.knock/{roomIdOrAlias}
|
||||
POST /knock/{roomIdOrAlias}
|
||||
"""
|
||||
|
||||
PATTERNS = client_patterns(
|
||||
"/xyz.amorgan.knock/(?P<room_identifier>[^/]*)", releases=()
|
||||
)
|
||||
PATTERNS = client_patterns("/knock/(?P<room_identifier>[^/]*)")
|
||||
|
||||
def __init__(self, hs: "HomeServer"):
|
||||
super().__init__()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue