Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
synapse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maunium
synapse
Commits
8b9ae6d3
Commit
8b9ae6d3
authored
6 years ago
by
Erik Johnston
Browse files
Options
Downloads
Patches
Plain Diff
Update docs
parent
e83a1906
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/workers.rst
+6
-0
6 additions, 0 deletions
docs/workers.rst
synapse/rest/client/v2_alpha/register.py
+1
-1
1 addition, 1 deletion
synapse/rest/client/v2_alpha/register.py
with
7 additions
and
1 deletion
docs/workers.rst
+
6
−
0
View file @
8b9ae6d3
...
...
@@ -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``
~~~~~~~~~~~~~~~~~~~~~~~~
...
...
This diff is collapsed.
Click to expand it.
synapse/rest/client/v2_alpha/register.py
+
1
−
1
View file @
8b9ae6d3
...
...
@@ -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
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment