summary refs log tree commit diff
path: root/synapse/replication
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2017-02-13 12:20:21 +0100
committerGitHub <noreply@github.com>2017-02-13 12:20:21 +0100
commit6bba80241c22fbf702419c0cea57dfcbc7144b30 (patch)
treea2e2a9f5f619711651bebb25c2eb1d62c5e9ba6d /synapse/replication
parentMerge pull request #1907 from andrewshadura/develop (diff)
parentAdd db functions needed for room initial sync to slave (diff)
downloadsynapse-6bba80241c22fbf702419c0cea57dfcbc7144b30.tar.xz
Merge pull request #1912 from matrix-org/markjh/roominitialsync
Add db functions needed for room initial sync to slave
Diffstat (limited to 'synapse/replication')
-rw-r--r--synapse/replication/slave/storage/account_data.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/synapse/replication/slave/storage/account_data.py b/synapse/replication/slave/storage/account_data.py
index 735c03c7eb..77c64722c7 100644
--- a/synapse/replication/slave/storage/account_data.py
+++ b/synapse/replication/slave/storage/account_data.py
@@ -46,6 +46,12 @@ class SlavedAccountDataStore(BaseSlavedStore):
     )
 
     get_tags_for_user = TagsStore.__dict__["get_tags_for_user"]
+    get_tags_for_room = (
+        DataStore.get_tags_for_room.__func__
+    )
+    get_account_data_for_room = (
+        DataStore.get_account_data_for_room.__func__
+    )
 
     get_updated_tags = DataStore.get_updated_tags.__func__
     get_updated_account_data_for_user = (