mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 20:13:50 +01:00
Fix docstring in EventContext (#14145)
This commit is contained in:
parent
06b0c4edfe
commit
1c777ef1e8
2 changed files with 4 additions and 1 deletions
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
|
None does not necessarily mean that ``state_group`` does not have
|
||||||
a prev_group!
|
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``
|
If ``state_group`` is None (ie, the event is an outlier), ``prev_group``
|
||||||
will always also be ``None``.
|
will always also be ``None``.
|
||||||
|
|
Loading…
Reference in a new issue