mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-26 05:49:27 -05: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:
commit
01fc847f7f
@ -537,7 +537,7 @@ class RegisterRestServlet(RestServlet):
|
|||||||
# we have nowhere to store it.
|
# we have nowhere to store it.
|
||||||
device_id = synapse.api.auth.GUEST_DEVICE_ID
|
device_id = synapse.api.auth.GUEST_DEVICE_ID
|
||||||
initial_display_name = params.get("initial_device_display_name")
|
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
|
user_id, device_id, initial_display_name
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user