diff options
author | Erik Johnston <erik@matrix.org> | 2017-01-27 10:29:47 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-01-27 10:29:47 +0000 |
commit | 888c59c955b33c3c69a73766507e134d64a8f25b (patch) | |
tree | b0512b2081bcc42238297bd3f7eafb45367af1c3 /synapse/handlers | |
parent | Remove unused param (diff) | |
download | synapse-888c59c955b33c3c69a73766507e134d64a8f25b.tar.xz |
Better name
Diffstat (limited to 'synapse/handlers')
-rw-r--r-- | synapse/handlers/device.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/handlers/device.py b/synapse/handlers/device.py index 1116dfd27c..ed077c9a76 100644 --- a/synapse/handlers/device.py +++ b/synapse/handlers/device.py @@ -259,7 +259,9 @@ class DeviceHandler(BaseHandler): # to resync the users device list, otherwise we do. resync = True if len(prev_ids) == 1: - extremity = yield self.store.get_device_list_remote_extremity(user_id) + extremity = yield self.store.get_device_list_last_stream_id_for_remote( + user_id + ) logger.info("Extrem: %r, prev_ids: %r", extremity, prev_ids) if str(extremity) == str(prev_ids[0]): resync = False |