Update docs

This commit is contained in:
Erik Johnston 2019-02-18 15:25:44 +00:00
parent e83a190643
commit 8b9ae6d3a6
2 changed files with 7 additions and 1 deletions

View file

@ -223,6 +223,12 @@ following regular expressions::
^/_matrix/client/(api/v1|r0|unstable)/rooms/.*/members$
^/_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``
~~~~~~~~~~~~~~~~~~~~~~~~

View file

@ -665,7 +665,7 @@ class RegisterRestServlet(RestServlet):
device.
is_guest (bool): Whether this is a guest account
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:
r = yield self._register_device_client(