From fd98493c8603611a4a1292f7717574603e91e23c Mon Sep 17 00:00:00 2001 From: "H. Shay" Date: Tue, 8 Nov 2022 12:19:42 -0800 Subject: remove duplicated code and update comment --- synapse/storage/databases/state/store.py | 1 + 1 file changed, 1 insertion(+) (limited to 'synapse/storage/databases/state') diff --git a/synapse/storage/databases/state/store.py b/synapse/storage/databases/state/store.py index b554d80d7b..1c842a6657 100644 --- a/synapse/storage/databases/state/store.py +++ b/synapse/storage/databases/state/store.py @@ -421,6 +421,7 @@ class StateGroupDataStore(StateBackgroundUpdateStore, SQLBaseStore): room_id: the id of the room the events were created for prev_group: the state group of the last event persisted before the batched events were created + Returns: list of state groups that correspond to the events in `events_and_context` """ def insert_deltas_group_txn( -- cgit 1.5.1