summary refs log tree commit diff
path: root/synapse/storage/presence.py
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2014-08-16 01:46:35 +0100
committerMatthew Hodgson <matthew@matrix.org>2014-08-16 01:46:35 +0100
commit0f9b633af7e6288addfbf55a53bbe4437d5e344a (patch)
treea23527e21a69b7c53f8cf2a764b71d5647d84a55 /synapse/storage/presence.py
parentdisplay mtime_age in webclient (diff)
downloadsynapse-0f9b633af7e6288addfbf55a53bbe4437d5e344a.tar.xz
retcols is mandatory. i have no idea how this could ever have worked?
Diffstat (limited to '')
-rw-r--r--synapse/storage/presence.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/presence.py b/synapse/storage/presence.py
index 23b6d1694e..a529104f4d 100644
--- a/synapse/storage/presence.py
+++ b/synapse/storage/presence.py
@@ -67,6 +67,7 @@ class PresenceStore(SQLBaseStore):
             table="presence_allow_inbound",
             keyvalues={"observed_user_id": observed_localpart,
                        "observer_user_id": observer_userid},
+            retcols=["observed_user_id"],
             allow_none=True,
         )