diff options
author | Erik Johnston <erik@matrix.org> | 2016-07-28 16:36:28 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-07-28 16:36:28 +0100 |
commit | 0fcbca531f448e3cef50074404cbf7af457105f3 (patch) | |
tree | e6f35e554cb5a834810569e5c467e26839bc4dfa | |
parent | Add more key storage funcs into slave store (diff) | |
download | synapse-0fcbca531f448e3cef50074404cbf7af457105f3.tar.xz |
Add get_auth_chain to slave store
-rw-r--r-- | synapse/replication/slave/storage/events.py | 4 |
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() |