mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-01-18 01:57:14 -05:00
Fix docstring in EventContext (#14145)
This commit is contained in:
parent
06b0c4edfe
commit
1c777ef1e8
2
changelog.d/14145.doc
Normal file
2
changelog.d/14145.doc
Normal file
@ -0,0 +1,2 @@
|
||||
Clarify comment on event contexts.
|
||||
|
@ -65,7 +65,8 @@ class EventContext:
|
||||
None does not necessarily mean that ``state_group`` does not have
|
||||
a prev_group!
|
||||
|
||||
If the event is a state event, this is normally the same as ``prev_group``.
|
||||
If the event is a state event, this is normally the same as
|
||||
``state_group_before_event``.
|
||||
|
||||
If ``state_group`` is None (ie, the event is an outlier), ``prev_group``
|
||||
will always also be ``None``.
|
||||
|
Loading…
Reference in New Issue
Block a user