Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2057 from matrix-org/rav/missing_yield_2
Browse files Browse the repository at this point in the history
Add another missing yield on check_device_registered
  • Loading branch information
richvdh authored Mar 24, 2017
2 parents 57cfa51 + 13c8749 commit 01fc847
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/rest/client/v2_alpha/register.py
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ def _do_guest_registration(self, params):
# 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
)

Expand Down

0 comments on commit 01fc847

Please sign in to comment.