diff options
author | Erik Johnston <erik@matrix.org> | 2017-04-11 16:23:24 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-04-11 16:23:24 +0100 |
commit | b48045a8f536a503001994066552255c2f6c18ed (patch) | |
tree | 5c0ff2be0db4e57648a6f984253ad705ff79ffc8 /synapse/storage | |
parent | Fix getting latest device IP for user with no devices (diff) | |
download | synapse-b48045a8f536a503001994066552255c2f6c18ed.tar.xz |
Don't bother with outer check for now
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/client_ips.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/synapse/storage/client_ips.py b/synapse/storage/client_ips.py index 5bed255eb2..f95921d731 100644 --- a/synapse/storage/client_ips.py +++ b/synapse/storage/client_ips.py @@ -90,9 +90,6 @@ class ClientIpStore(background_updates.BackgroundUpdateStore): are (user_id, device_id) tuples. The values are also dicts, with keys giving the column names """ - if not devices: - defer.returnValue({}) - res = yield self.runInteraction( "get_last_client_ip_by_device", self._get_last_client_ip_by_device_txn, |