summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-03-24 13:28:20 +0000
committerErik Johnston <erik@matrix.org>2017-03-24 13:28:20 +0000
commit987f4945b4dcac7ce55ddede05df4189a36936a3 (patch)
tree175057a58e88c7f82cf4f1d76507b72a8100b4b6 /synapse/storage
parentUse presence replication stream to invalidate cache (diff)
downloadsynapse-987f4945b4dcac7ce55ddede05df4189a36936a3.tar.xz
Actually call invalidate
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/presence.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/presence.py b/synapse/storage/presence.py
index 4edfe29585..9e9d3c2591 100644
--- a/synapse/storage/presence.py
+++ b/synapse/storage/presence.py
@@ -86,7 +86,7 @@ class PresenceStore(SQLBaseStore):
                 state.user_id, stream_id,
             )
             txn.call_after(
-                self._get_presence_for_user, (state.user_id,)
+                self._get_presence_for_user.invalidate, (state.user_id,)
             )
 
         # Actually insert new rows