diff options
author | Erik Johnston <erik@matrix.org> | 2017-03-24 13:28:20 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-03-24 13:28:20 +0000 |
commit | 987f4945b4dcac7ce55ddede05df4189a36936a3 (patch) | |
tree | 175057a58e88c7f82cf4f1d76507b72a8100b4b6 /synapse/storage/presence.py | |
parent | Use presence replication stream to invalidate cache (diff) | |
download | synapse-987f4945b4dcac7ce55ddede05df4189a36936a3.tar.xz |
Actually call invalidate
Diffstat (limited to '')
-rw-r--r-- | synapse/storage/presence.py | 2 |
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 |