mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-15 02:23:49 +01:00
Add get_auth_chain to slave store
This commit is contained in:
parent
6ede23ff1b
commit
0fcbca531f
1 changed files with 4 additions and 0 deletions
|
@ -147,6 +147,10 @@ class SlavedEventStore(BaseSlavedStore):
|
||||||
get_missing_events = DataStore.get_missing_events.__func__
|
get_missing_events = DataStore.get_missing_events.__func__
|
||||||
_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):
|
def stream_positions(self):
|
||||||
result = super(SlavedEventStore, self).stream_positions()
|
result = super(SlavedEventStore, self).stream_positions()
|
||||||
result["events"] = self._stream_id_gen.get_current_token()
|
result["events"] = self._stream_id_gen.get_current_token()
|
||||||
|
|
Loading…
Reference in a new issue