matrix-synapse: Include v3 paths in default values
This commit is contained in:
parent
d7ed4e7139
commit
7d712af2a4
1 changed files with 34 additions and 31 deletions
|
@ -374,31 +374,34 @@ workers:
|
|||
generic: true
|
||||
listeners: [client, federation]
|
||||
csPaths:
|
||||
# - "/_matrix/client/(v2_alpha|r0)/sync"
|
||||
- "/_matrix/client/(api/v1|v2_alpha|r0)/events"
|
||||
# - "/_matrix/client/(api/v1|r0)/initialSync"
|
||||
# - "/_matrix/client/(api/v1|r0)/rooms/[^/]+/initialSync"
|
||||
- "/_matrix/client/(api/v1|r0|unstable)/publicRooms"
|
||||
- "/_matrix/client/(api/v1|r0|unstable)/rooms/.*/joined_members"
|
||||
- "/_matrix/client/(api/v1|r0|unstable)/rooms/.*/context/.*"
|
||||
- "/_matrix/client/(api/v1|r0|unstable)/rooms/.*/members"
|
||||
- "/_matrix/client/(api/v1|r0|unstable)/rooms/.*/state"
|
||||
- "/_matrix/client/(api/v1|r0|unstable)/account/3pid"
|
||||
- "/_matrix/client/(api/v1|r0|unstable)/keys/query"
|
||||
- "/_matrix/client/(api/v1|r0|unstable)/keys/changes"
|
||||
# - "/_matrix/client/(v2_alpha|r0|v3)/sync"
|
||||
- "/_matrix/client/(api/v1|v2_alpha|r0|v3)/events"
|
||||
# - "/_matrix/client/(api/v1|r0|v3)/initialSync"
|
||||
# - "/_matrix/client/(api/v1|r0|v3)/rooms/[^/]+/initialSync"
|
||||
- "/_matrix/client/(api/v1|r0|v3|unstable)/publicRooms"
|
||||
- "/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/joined_members"
|
||||
- "/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/context/.*"
|
||||
- "/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/members"
|
||||
- "/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/state"
|
||||
- "/_matrix/client/unstable/org.matrix.msc2946/rooms/.*/spaces"
|
||||
- "/_matrix/client/unstable/org.matrix.msc2946/rooms/.*/hierarchy"
|
||||
- "/_matrix/client/unstable/im.nheko.summary/rooms/.*/summary"
|
||||
- "/_matrix/client/(api/v1|r0|v3|unstable)/account/3pid"
|
||||
- "/_matrix/client/(api/v1|r0|v3|unstable)/keys/query"
|
||||
- "/_matrix/client/(api/v1|r0|v3|unstable)/keys/changes"
|
||||
- "/_matrix/client/versions"
|
||||
- "/_matrix/client/(api/v1|r0|unstable)/voip/turnServer"
|
||||
- "/_matrix/client/(api/v1|r0|unstable)/joined_groups"
|
||||
- "/_matrix/client/(api/v1|r0|unstable)/publicised_groups"
|
||||
- "/_matrix/client/(api/v1|r0|unstable)/publicised_groups/"
|
||||
- "/_matrix/client/(api/v1|r0|unstable)/login"
|
||||
- "/_matrix/client/(r0|unstable)/register"
|
||||
- "/_matrix/client/(r0|unstable)/auth/.*/fallback/web"
|
||||
- "/_matrix/client/(api/v1|r0|unstable)/rooms/.*/send"
|
||||
- "/_matrix/client/(api/v1|r0|unstable)/rooms/.*/state/"
|
||||
- "/_matrix/client/(api/v1|r0|unstable)/rooms/.*/(join|invite|leave|ban|unban|kick)"
|
||||
- "/_matrix/client/(api/v1|r0|unstable)/join/"
|
||||
- "/_matrix/client/(api/v1|r0|unstable)/profile/"
|
||||
- "/_matrix/client/(api/v1|r0|v3|unstable)/voip/turnServer"
|
||||
- "/_matrix/client/(api/v1|r0|v3|unstable)/joined_groups"
|
||||
- "/_matrix/client/(api/v1|r0|v3|unstable)/publicised_groups"
|
||||
- "/_matrix/client/(api/v1|r0|v3|unstable)/publicised_groups/"
|
||||
- "/_matrix/client/(api/v1|r0|v3|unstable)/login"
|
||||
- "/_matrix/client/(r0|v3|unstable)/register"
|
||||
- "/_matrix/client/(r0|v3|unstable)/auth/.*/fallback/web"
|
||||
- "/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/send"
|
||||
- "/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/state/"
|
||||
- "/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/(join|invite|leave|ban|unban|kick)"
|
||||
- "/_matrix/client/(api/v1|r0|v3|unstable)/join/"
|
||||
- "/_matrix/client/(api/v1|r0|v3|unstable)/profile/"
|
||||
paths:
|
||||
- "/_matrix/federation/v1/event/"
|
||||
- "/_matrix/federation/v1/state/"
|
||||
|
@ -443,10 +446,10 @@ workers:
|
|||
# generic: true
|
||||
# listeners: [client]
|
||||
# csPaths:
|
||||
# - "/_matrix/client/(v2_alpha|r0)/sync"
|
||||
# - "/_matrix/client/(api/v1|v2_alpha|r0)/events"
|
||||
# - "/_matrix/client/(api/v1|r0)/initialSync"
|
||||
# - "/_matrix/client/(api/v1|r0)/rooms/[^/]+/initialSync"
|
||||
# - "/_matrix/client/(v2_alpha|r0|v3)/sync"
|
||||
# - "/_matrix/client/(api/v1|v2_alpha|r0|v3)/events"
|
||||
# - "/_matrix/client/(api/v1|r0|v3)/initialSync"
|
||||
# - "/_matrix/client/(api/v1|r0|v3)/rooms/[^/]+/initialSync"
|
||||
|
||||
## This worker deals with pushing notifications.
|
||||
## NB; Only one instance of this worker can be run at a time, refer to the
|
||||
|
@ -489,7 +492,7 @@ workers:
|
|||
enabled: false
|
||||
listeners: [client]
|
||||
csPaths:
|
||||
- "/_matrix/client/(api/v1|r0|unstable)/user_directory/search"
|
||||
- "/_matrix/client/(api/v1|r0|v3|unstable)/user_directory/search"
|
||||
|
||||
## This worker handles key uploads, and may also stub out presence if that is
|
||||
## disabled. If you set extraConfig.use_presence=false then you may want to
|
||||
|
@ -499,8 +502,8 @@ workers:
|
|||
enabled: false
|
||||
listeners: [client]
|
||||
csPaths:
|
||||
- "/_matrix/client/(api/v1|r0|unstable)/keys/upload"
|
||||
# - "/_matrix/client/(api/v1|r0|unstable)/presence/[^/]+/status"
|
||||
- "/_matrix/client/(api/v1|r0|v3|unstable)/keys/upload"
|
||||
# - "/_matrix/client/(api/v1|r0|v3|unstable)/presence/[^/]+/status"
|
||||
|
||||
## This will set up a Lighttpd server to respond to any
|
||||
## /.well-known/matrix/server requests, to make federation possible without
|
||||
|
|
Loading…
Reference in a new issue