diff options
author | Mark Haines <mjark@negativecurvature.net> | 2016-04-01 10:52:29 +0100 |
---|---|---|
committer | Mark Haines <mjark@negativecurvature.net> | 2016-04-01 10:52:29 +0100 |
commit | c42f46ab7d1be719c82cbcb9287068e0682e14ee (patch) | |
tree | 561bd739dd49b4dffb4d81dc541e8319923a6241 | |
parent | Merge pull request #681 from matrix-org/markjh/remove_outlier (diff) | |
parent | Fix the invalidation of the names and aliases cache (diff) | |
download | synapse-c42f46ab7d1be719c82cbcb9287068e0682e14ee.tar.xz |
Merge pull request #682 from matrix-org/markjh/fix_invalidate
Fix the invalidation of the names and aliases cache
Diffstat (limited to '')
-rw-r--r-- | synapse/storage/events.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py index 83279d65fa..7468e6e00c 100644 --- a/synapse/storage/events.py +++ b/synapse/storage/events.py @@ -198,7 +198,7 @@ class EventsStore(SQLBaseStore): txn.call_after(self.get_rooms_for_user.invalidate_all) txn.call_after(self.get_users_in_room.invalidate, (event.room_id,)) txn.call_after(self.get_joined_hosts_for_room.invalidate, (event.room_id,)) - txn.call_after(self.get_room_name_and_aliases, event.room_id) + txn.call_after(self.get_room_name_and_aliases.invalidate, (event.room_id,)) # Add an entry to the current_state_resets table to record the point # where we clobbered the current state |