summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-07-28 16:36:28 +0100
committerErik Johnston <erik@matrix.org>2016-07-28 16:36:28 +0100
commit0fcbca531f448e3cef50074404cbf7af457105f3 (patch)
treee6f35e554cb5a834810569e5c467e26839bc4dfa
parentAdd more key storage funcs into slave store (diff)
downloadsynapse-0fcbca531f448e3cef50074404cbf7af457105f3.tar.xz
Add get_auth_chain to slave store
-rw-r--r--synapse/replication/slave/storage/events.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/replication/slave/storage/events.py b/synapse/replication/slave/storage/events.py
index 2ba1e6b803..fcd0f14a6c 100644
--- a/synapse/replication/slave/storage/events.py
+++ b/synapse/replication/slave/storage/events.py
@@ -147,6 +147,10 @@ class SlavedEventStore(BaseSlavedStore):
     get_missing_events = DataStore.get_missing_events.__func__
     _get_missing_events = DataStore._get_missing_events.__func__
 
+    get_auth_chain = DataStore.get_auth_chain.__func__
+    get_auth_chain_ids = DataStore.get_auth_chain_ids.__func__
+    _get_auth_chain_ids_txn = DataStore._get_auth_chain_ids_txn.__func__
+
     def stream_positions(self):
         result = super(SlavedEventStore, self).stream_positions()
         result["events"] = self._stream_id_gen.get_current_token()