the event at the centre of this context
Readonly
ourthe event at the centre of this context
Private
ourPrivate
paginatePrivate
timelineAdd more events to the timeline
new events, in timeline order
true to insert new events at the start
Get the main event of interest
This is a convenience function for getTimeline()[getOurEventIndex()].
The event at the centre of this context.
Get the list of events in this context
An array of MatrixEvents
Generated using TypeDoc
Construct a new EventContext
An eventcontext is used for circumstances such as search results, when we have a particular event of interest, and a bunch of events before and after it.
It also stores pagination tokens for going backwards and forwards in the timeline.