0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-10 12:02:43 +01:00

Merge pull request #2057 from matrix-org/rav/missing_yield_2

Add another missing yield on check_device_registered
This commit is contained in:
Richard van der Hoff 2017-03-24 12:46:43 +00:00 committed by GitHub
commit 01fc847f7f

View file

@ -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
)