diff options
author | Erik Johnston <erik@matrix.org> | 2017-10-03 14:12:28 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-10-03 14:12:28 +0100 |
commit | 11d62f43c9a28de7efd00a534cfbf05f254bfc3e (patch) | |
tree | 022206adadbac8f86705e1f0207c4fe1c89291c8 /synapse/storage | |
parent | Update comments (diff) | |
download | synapse-11d62f43c9a28de7efd00a534cfbf05f254bfc3e.tar.xz |
Invalidate cache
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/events.py | 3 |
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,) |