libkazv
Loading...
Searching...
No Matches
Kazv::LoadEventsFromStorageAction Struct Reference

Load events from the storage into the model. More...

#include <client-model.hpp>

Public Attributes

immer::map< std::string, EventListtimelineEvents
 Map from room id to a list of loaded events that should be put into the timeline.
 
immer::map< std::string, EventListrelatedEvents
 Map from room id to a list of related events that should not be put into the timeline.
 

Detailed Description

Load events from the storage into the model.

Member Data Documentation

◆ relatedEvents

immer::map<std::string, EventList> Kazv::LoadEventsFromStorageAction::relatedEvents

Map from room id to a list of related events that should not be put into the timeline.

From oldest to latest. There might be events in the storage that is needed to display existing events or room state (e.g. pinned events), but the storage may not know its place in the timeline.

◆ timelineEvents

immer::map<std::string, EventList> Kazv::LoadEventsFromStorageAction::timelineEvents

Map from room id to a list of loaded events that should be put into the timeline.

From oldest to latest.


The documentation for this struct was generated from the following file: