summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
authorRichard van der Hoff <github@rvanderhoff.org.uk>2017-03-24 12:46:43 +0000
committerGitHub <noreply@github.com>2017-03-24 12:46:43 +0000
commit01fc847f7ff724fe7de1750281cb6ad553f1acb0 (patch)
tree4320af7b132ef2dd548d535951d4033fd8b03b06 /synapse/rest
parentMerge pull request #2054 from matrix-org/erikj/user_iter_cursor (diff)
parentAdd another missing yield on check_device_registered (diff)
downloadsynapse-01fc847f7ff724fe7de1750281cb6ad553f1acb0.tar.xz
Merge pull request #2057 from matrix-org/rav/missing_yield_2
Add another missing yield on check_device_registered
Diffstat (limited to 'synapse/rest')
-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
         )