diff options
author | David Baker <dbkr@users.noreply.github.com> | 2016-02-02 14:46:25 +0000 |
---|---|---|
committer | David Baker <dbkr@users.noreply.github.com> | 2016-02-02 14:46:25 +0000 |
commit | 9039904f4c0c942f67e3ff1eb8e1c88a382d0959 (patch) | |
tree | b155992a130107088aa342fe54ca83fb8defc3ca | |
parent | WARN if we get a topo token instead of stream. (diff) | |
parent | Pass make_guest whne we autogen a user ID (diff) | |
download | synapse-9039904f4c0c942f67e3ff1eb8e1c88a382d0959.tar.xz |
Merge pull request #548 from matrix-org/dbkr/fix_guest_db_column
Pass make_guest when we autogen a user ID
-rw-r--r-- | synapse/handlers/register.py | 4 |
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: |