Search for messages across predecessor rooms

Signed-off-by: Andrew Morgan <andrew@amorgan.xyz>
This commit is contained in:
Andrew Morgan 2019-01-18 10:04:47 +00:00
parent 9feb5d0b71
commit df3a661e4a
3 changed files with 73 additions and 0 deletions

View file

@ -448,6 +448,7 @@ class StateGroupWorkerStore(EventsWorkerStore, SQLBaseStore):
Returns:
deferred: dict of (type, state_key) -> event_id
"""
def _get_current_state_ids_txn(txn):
txn.execute(
"""SELECT type, state_key, event_id FROM current_state_events