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
1 changed files with 0 additions and 3 deletions

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,