diff options
author | David Baker <dbkr@users.noreply.github.com> | 2016-01-08 14:47:15 +0000 |
---|---|---|
committer | David Baker <dbkr@users.noreply.github.com> | 2016-01-08 14:47:15 +0000 |
commit | c232780081c7d56de34d7c2a270aabb55bbfeec1 (patch) | |
tree | d4cf21a860a1c98e50a2154c076788185c27f9d2 /synapse/handlers/register.py | |
parent | Merge pull request #475 from matrix-org/markjh/fix_thumbnail (diff) | |
parent | This comma is actually important (diff) | |
download | synapse-c232780081c7d56de34d7c2a270aabb55bbfeec1.tar.xz |
Merge pull request #456 from matrix-org/store_event_actions
Send unread notification counts
Diffstat (limited to 'synapse/handlers/register.py')
-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 6f111ff63e..ba26d13d49 100644 --- a/synapse/handlers/register.py +++ b/synapse/handlers/register.py @@ -84,7 +84,8 @@ class RegistrationHandler(BaseHandler): localpart=None, password=None, generate_token=True, - guest_access_token=None + guest_access_token=None, + make_guest=False ): """Registers a new client on the server. @@ -118,6 +119,7 @@ class RegistrationHandler(BaseHandler): token=token, password_hash=password_hash, was_guest=guest_access_token is not None, + make_guest=make_guest, ) yield registered_user(self.distributor, user) |