summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2017-03-23 13:48:19 +0000
committerRichard van der Hoff <richard@matrix.org>2017-03-23 22:18:53 +0000
commit13c8749ac959eb4efbbd0ce13d914ff3c1799d84 (patch)
treeaec33e09dad6aa7de156c255f921f03caec3c616 /synapse
parentMerge pull request #1783 from pik/filter-validation (diff)
downloadsynapse-13c8749ac959eb4efbbd0ce13d914ff3c1799d84.tar.xz
Add another missing yield on check_device_registered
Diffstat (limited to 'synapse')
-rw-r--r--synapse/rest/client/v2_alpha/register.py2
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
         )