libkazv
room-model.cpp File Reference
#include <libkazv-config.hpp>
#include <lager/util.hpp>
#include <zug/sequence.hpp>
#include <zug/transducer/map.hpp>
#include <zug/transducer/filter.hpp>
#include "debug.hpp"
#include "room-model.hpp"
#include "cursorutil.hpp"
#include "immer-utils.hpp"
Include dependency graph for room-model.cpp:

Namespaces

 Kazv
 

Functions

PendingRoomKeyEvent Kazv::makePendingRoomKeyEventV0 (std::string txnId, Event event, immer::map< std::string, immer::flex_vector< std::string >> devices)
 
bool Kazv::operator== (const ReadReceipt &a, const ReadReceipt &b)
 
bool Kazv::operator!= (const ReadReceipt &a, const ReadReceipt &b)
 
bool Kazv::operator== (const EventReader &a, const EventReader &b)
 
bool Kazv::operator!= (const EventReader &a, const EventReader &b)
 
auto Kazv::sortKeyForTimelineEvent (Event e) -> std::tuple< Timestamp, std::string >
 Get the sort key for a timeline event. More...
 
auto Kazv::memberEventsByMembership (immer::map< KeyOfState, Event > stateEvents, const std::string &membership)
 

Variables

const auto receiptTypes = immer::flex_vector<std::string>{"m.read", "m.read.private"}
 

Variable Documentation

◆ receiptTypes

const auto receiptTypes = immer::flex_vector<std::string>{"m.read", "m.read.private"}
inline