From 0f9b633af7e6288addfbf55a53bbe4437d5e344a Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Sat, 16 Aug 2014 01:46:35 +0100 Subject: [PATCH] retcols is mandatory. i have no idea how this could ever have worked? --- synapse/storage/presence.py | 1 + 1 file changed, 1 insertion(+) diff --git a/synapse/storage/presence.py b/synapse/storage/presence.py index 23b6d1694..a529104f4 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, )