diff options
author | Neil Johnson <neil@matrix.org> | 2018-05-18 15:51:21 +0100 |
---|---|---|
committer | Neil Johnson <neil@matrix.org> | 2018-05-18 15:51:21 +0100 |
commit | ef466b3a131c0a6c93027a8f8194538678f920c1 (patch) | |
tree | 73519c84e3f90cd317473b538fc01093611607e7 /synapse/storage | |
parent | Merge branch 'master' into develop (diff) | |
download | synapse-ef466b3a131c0a6c93027a8f8194538678f920c1.tar.xz |
fix psql compatability bug
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/__init__.py b/synapse/storage/__init__.py index 4551cf8774..ac264b5d25 100644 --- a/synapse/storage/__init__.py +++ b/synapse/storage/__init__.py @@ -376,7 +376,7 @@ class DataStore(RoomMemberStore, RoomStore, FROM user_ips AS u LEFT JOIN ( SELECT user_id, device_id, timestamp FROM user_daily_visits - WHERE timestamp IS ? + WHERE timestamp = ? ) udv ON u.user_id = udv.user_id AND u.device_id=udv.device_id WHERE last_seen > ? AND last_seen <= ? AND udv.timestamp IS NULL |