summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-03-01 17:49:37 +0000
committerErik Johnston <erik@matrix.org>2018-03-01 17:50:30 +0000
commit89b7232ff8ac7a7d3dad74b437d06678a6adca5e (patch)
treebe1068f934576d5f0c248ef7e051c6ba45caf427
parentFewer lies are better (diff)
downloadsynapse-89b7232ff8ac7a7d3dad74b437d06678a6adca5e.tar.xz
Fix typo in getting replication account data processing
-rw-r--r--synapse/replication/slave/storage/account_data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/replication/slave/storage/account_data.py b/synapse/replication/slave/storage/account_data.py
index 355d14ff7c..d9ba6d69b1 100644
--- a/synapse/replication/slave/storage/account_data.py
+++ b/synapse/replication/slave/storage/account_data.py
@@ -58,7 +58,7 @@ class SlavedAccountDataStore(TagsWorkerStore, AccountDataWorkerStore, BaseSlaved
                 self.get_account_data_for_user.invalidate((row.user_id,))
                 self.get_account_data_for_room.invalidate((row.user_id, row.room_id,))
                 self.get_account_data_for_room_and_type.invalidate(
-                    (row.user_id, row.room_id, row.account_data_type,),
+                    (row.user_id, row.room_id, row.data_type,),
                 )
                 self._account_data_stream_cache.entity_has_changed(
                     row.user_id, token