Don't bother with outer check for now

This commit is contained in:
Erik Johnston 2017-04-11 16:23:24 +01:00
parent 34840cdcef
commit b48045a8f5

View File

@ -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,