|
libkazv
|
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. | |
Remove events from the model, keeping only the latest maxToKeep events.
For each room, this takes O(maxToKeep * log(maxToKeep)) time.
| immer::map<std::string, std::size_t> Kazv::PurgeRoomTimelineAction::roomIdToMaxToKeepMap |
A map from roomId to maxToKeep.