summary refs log tree commit diff
path: root/synapse/handlers/register.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2016-02-02 14:42:31 +0000
committerDavid Baker <dave@matrix.org>2016-02-02 14:42:31 +0000
commit69214ea671d3e219d53698cc608c8e4d414cc3f7 (patch)
treeb155992a130107088aa342fe54ca83fb8defc3ca /synapse/handlers/register.py
parentWARN if we get a topo token instead of stream. (diff)
downloadsynapse-69214ea671d3e219d53698cc608c8e4d414cc3f7.tar.xz
Pass make_guest whne we autogen a user ID
Diffstat (limited to '')
-rw-r--r--synapse/handlers/register.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/handlers/register.py b/synapse/handlers/register.py
index c11b98d0b7..abd1a16a41 100644
--- a/synapse/handlers/register.py
+++ b/synapse/handlers/register.py
@@ -139,7 +139,9 @@ class RegistrationHandler(BaseHandler):
                     yield self.store.register(
                         user_id=user_id,
                         token=token,
-                        password_hash=password_hash)
+                        password_hash=password_hash,
+                        make_guest=make_guest
+                    )
 
                     yield registered_user(self.distributor, user)
                 except SynapseError: