diff options
author | Mark Haines <mark.haines@matrix.org> | 2014-11-20 16:24:00 +0000 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2014-11-20 16:24:00 +0000 |
commit | 32090aee169aafc9da4efa176b50a5fc8ede68d2 (patch) | |
tree | c7606c2aecdce27c83e0e2dc95393a95761c7934 /synapse/handlers/register.py | |
parent | Merge branch 'master' into develop (diff) | |
download | synapse-32090aee169aafc9da4efa176b50a5fc8ede68d2.tar.xz |
Add a few missing yields, Move deferred lists inside PreserveLoggingContext because they don't interact well with the logging contexts
Diffstat (limited to 'synapse/handlers/register.py')
-rw-r--r-- | synapse/handlers/register.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/register.py b/synapse/handlers/register.py index 7df9d9b82d..c59ac1a3c8 100644 --- a/synapse/handlers/register.py +++ b/synapse/handlers/register.py @@ -69,7 +69,7 @@ class RegistrationHandler(BaseHandler): password_hash=password_hash ) - self.distributor.fire("registered_user", user) + yield self.distributor.fire("registered_user", user) else: # autogen a random user ID attempts = 0 |