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

Remove events from the model, keeping only the latest maxToKeep events. More...

#include <client-model.hpp>

Public Attributes

immer::map< std::string, std::size_t > roomIdToMaxToKeepMap
 A map from roomId to maxToKeep.
 

Detailed Description

Remove events from the model, keeping only the latest maxToKeep events.

For each room, this takes O(maxToKeep * log(maxToKeep)) time.

Member Data Documentation

◆ roomIdToMaxToKeepMap

immer::map<std::string, std::size_t> Kazv::PurgeRoomTimelineAction::roomIdToMaxToKeepMap

A map from roomId to maxToKeep.


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