diff options
author | Erik Johnston <erik@matrix.org> | 2019-09-25 17:53:13 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-09-25 17:53:13 +0100 |
commit | 4fb3c129aa96377d5b78c9e39d42eee2a4e9ae88 (patch) | |
tree | 7780de5531566372372992521f2476551a51be73 /synapse/storage/client_ips.py | |
parent | Review comments (diff) | |
parent | Merge pull request #6089 from matrix-org/erikj/cleanup_user_ips (diff) | |
download | synapse-4fb3c129aa96377d5b78c9e39d42eee2a4e9ae88.tar.xz |
Merge branch 'develop' of github.com:matrix-org/synapse into erikj/cleanup_user_ips_2
Diffstat (limited to 'synapse/storage/client_ips.py')
-rw-r--r-- | synapse/storage/client_ips.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/client_ips.py b/synapse/storage/client_ips.py index a4d40dfa1e..539584288d 100644 --- a/synapse/storage/client_ips.py +++ b/synapse/storage/client_ips.py @@ -397,7 +397,7 @@ class ClientIpStore(background_updates.BackgroundUpdateStore): """ keyvalues = {"user_id": user_id} - if device_id: + if device_id is not None: keyvalues["device_id"] = device_id res = yield self._simple_select_list( |