forked from MirrorHub/synapse
Update docs
This commit is contained in:
parent
e83a190643
commit
8b9ae6d3a6
2 changed files with 7 additions and 1 deletions
|
@ -223,6 +223,12 @@ following regular expressions::
|
||||||
^/_matrix/client/(api/v1|r0|unstable)/rooms/.*/members$
|
^/_matrix/client/(api/v1|r0|unstable)/rooms/.*/members$
|
||||||
^/_matrix/client/(api/v1|r0|unstable)/rooms/.*/state$
|
^/_matrix/client/(api/v1|r0|unstable)/rooms/.*/state$
|
||||||
|
|
||||||
|
Additionally, the following REST endpoints can be handled, but all requests must
|
||||||
|
be routed to the same instance::
|
||||||
|
|
||||||
|
^/_matrix/client/(api/v1|r0|unstable)/register$
|
||||||
|
|
||||||
|
|
||||||
``synapse.app.user_dir``
|
``synapse.app.user_dir``
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
|
|
@ -665,7 +665,7 @@ class RegisterRestServlet(RestServlet):
|
||||||
device.
|
device.
|
||||||
is_guest (bool): Whether this is a guest account
|
is_guest (bool): Whether this is a guest account
|
||||||
Returns:
|
Returns:
|
||||||
defer.Deferred[(str, str)]: Tuple of device ID and access token
|
defer.Deferred[tuple[str, str]]: Tuple of device ID and access token
|
||||||
"""
|
"""
|
||||||
if self.hs.config.worker_app:
|
if self.hs.config.worker_app:
|
||||||
r = yield self._register_device_client(
|
r = yield self._register_device_client(
|
||||||
|
|
Loading…
Reference in a new issue