diff options
author | Richard van der Hoff <richard@matrix.org> | 2017-03-23 13:48:19 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2017-03-23 22:18:53 +0000 |
commit | 13c8749ac959eb4efbbd0ce13d914ff3c1799d84 (patch) | |
tree | aec33e09dad6aa7de156c255f921f03caec3c616 | |
parent | Merge pull request #1783 from pik/filter-validation (diff) | |
download | synapse-13c8749ac959eb4efbbd0ce13d914ff3c1799d84.tar.xz |
Add another missing yield on check_device_registered
-rw-r--r-- | synapse/rest/client/v2_alpha/register.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/register.py b/synapse/rest/client/v2_alpha/register.py index dcd13b876f..3acf4eacdd 100644 --- a/synapse/rest/client/v2_alpha/register.py +++ b/synapse/rest/client/v2_alpha/register.py @@ -537,7 +537,7 @@ class RegisterRestServlet(RestServlet): # we have nowhere to store it. device_id = synapse.api.auth.GUEST_DEVICE_ID initial_display_name = params.get("initial_device_display_name") - self.device_handler.check_device_registered( + yield self.device_handler.check_device_registered( user_id, device_id, initial_display_name ) |