summary refs log tree commit diff
path: root/synapse/storage/events.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-10-03 14:12:28 +0100
committerErik Johnston <erik@matrix.org>2017-10-03 14:12:28 +0100
commit11d62f43c9a28de7efd00a534cfbf05f254bfc3e (patch)
tree022206adadbac8f86705e1f0207c4fe1c89291c8 /synapse/storage/events.py
parentUpdate comments (diff)
downloadsynapse-11d62f43c9a28de7efd00a534cfbf05f254bfc3e.tar.xz
Invalidate cache
Diffstat (limited to '')
-rw-r--r--synapse/storage/events.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py
index 7002b3752e..4f0b43c36d 100644
--- a/synapse/storage/events.py
+++ b/synapse/storage/events.py
@@ -784,6 +784,9 @@ class EventsStore(SQLBaseStore):
                     self._invalidate_cache_and_stream(
                         txn, self.is_host_joined, (room_id, host)
                     )
+                    self._invalidate_cache_and_stream(
+                        txn, self.was_host_joined, (room_id, host)
+                    )
 
                 self._invalidate_cache_and_stream(
                     txn, self.get_users_in_room, (room_id,)