diff options
author | Hubert Chathi <hubert@uhoreg.ca> | 2020-09-03 16:34:06 -0400 |
---|---|---|
committer | Hubert Chathi <hubert@uhoreg.ca> | 2020-09-03 16:34:06 -0400 |
commit | b7398f74891c3b302360258a1954c731298ea52d (patch) | |
tree | 0e88d04ef91da74c14a1ae2b8359d740935fa5fe | |
parent | newer version of dehydration proposal, add doc improvements and other minor f... (diff) | |
download | synapse-b7398f74891c3b302360258a1954c731298ea52d.tar.xz |
fix nonexistent reference
-rw-r--r-- | synapse/handlers/device.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/handlers/device.py b/synapse/handlers/device.py index e1fd39356c..7c809b27f0 100644 --- a/synapse/handlers/device.py +++ b/synapse/handlers/device.py @@ -610,7 +610,8 @@ class DeviceHandler(DeviceWorkerHandler): login_submission = token_info["login_submission"] device_id = login_submission.get("device_id") initial_display_name = login_submission.get("initial_device_display_name") - device_id, access_token = await self.registration_handler.register_device( + registration_handler = self.hs.get_registration_handler() + device_id, access_token = await registration_handler.register_device( token_info.get("user_id"), device_id, initial_display_name ) |