mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-11-29 14:09:15 -05:00
Comments
This commit is contained in:
parent
09e4bc0501
commit
6ba21bf2b8
2 changed files with 15 additions and 0 deletions
|
|
@ -99,6 +99,12 @@ class StateStore(SQLBaseStore):
|
|||
)
|
||||
|
||||
def get_state_group_delta(self, state_group):
|
||||
"""Given a state group try to return a previous group and a delta between
|
||||
the old and the new.
|
||||
|
||||
Returns:
|
||||
(prev_group, delta_ids), where both may be None.
|
||||
"""
|
||||
def _get_state_group_delta_txn(txn):
|
||||
prev_group = self._simple_select_one_onecol_txn(
|
||||
txn,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue