summary refs log tree commit diff
path: root/synapse/storage/presence.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/storage/presence.py')
-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,
         )