mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-16 00:03:49 +01:00
Expand on docstring comment about return value
This commit is contained in:
parent
8f65ab98d2
commit
709c309b0e
1 changed files with 5 additions and 0 deletions
|
@ -557,6 +557,11 @@ class EventsStore(EventsWorkerStore):
|
|||
Returns a tuple of two state maps, the first being the full new current
|
||||
state and the second being the delta to the existing current state.
|
||||
If both are None then there has been no change.
|
||||
|
||||
If there has been a change then we only return the delta if its
|
||||
already been calculated. Conversely if we do know the delta then
|
||||
the new current state is only returned if we've already calculated
|
||||
it.
|
||||
"""
|
||||
|
||||
if not new_latest_event_ids:
|
||||
|
|
Loading…
Reference in a new issue