summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2018-03-01 17:56:14 +0000
committerGitHub <noreply@github.com>2018-03-01 17:56:14 +0000
commit1a6c7cdf54f0ae64a242aad931667aba1211d9db (patch)
tree706026aaff8c067f60286f5e47de045e612e3b8c /synapse
parentMerge pull request #2925 from matrix-org/erikj/split_sig_fed (diff)
parentFix typo in getting replication account data processing (diff)
downloadsynapse-1a6c7cdf54f0ae64a242aad931667aba1211d9db.tar.xz
Merge pull request #2928 from matrix-org/erikj/read_marker_caches
 Fix typo in getting replication account data processing
Diffstat (limited to 'synapse')
-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