Go to the documentation of this file.
12 #include <vodozemac.h>
14 #include <immer/map.hpp>
26 j = nlohmann::json::object();
55 std::optional<rust::Box<vodozemac::megolm::InboundGroupSession>>
session;
63 std::size_t
checkError(std::size_t code)
const;
64 std::string
error()
const;
66 std::string
pickle()
const;
67 bool unpickle(std::string pickleData);
std::string pickle() const
Definition: inbound-group-session.cpp:50
bool operator!=(BaseJob a, BaseJob b)
Definition: basejob.cpp:292
Definition: inbound-group-session-p.hpp:48
InboundGroupSessionPrivate()
Definition: inbound-group-session.cpp:18
bool operator==(BaseJob a, BaseJob b)
Definition: basejob.cpp:280
std::string ed25519Key
Definition: inbound-group-session-p.hpp:57
Definition: location.hpp:10
std::int_fast64_t Timestamp
Definition: event.hpp:18
Timestamp originServerTs
Definition: inbound-group-session-p.hpp:21
std::string error() const
std::optional< rust::Box< vodozemac::megolm::InboundGroupSession > > session
Definition: inbound-group-session-p.hpp:55
void from_json(const nlohmann::json &j, KeyOfGroupSession &k)
Definition: crypto-util.hpp:36
nlohmann::json json
Definition: jsonwrap.hpp:20
immer::map< std::uint32_t, KeyOfDecryptedEvent > decryptedEvents
Definition: inbound-group-session-p.hpp:61
Definition: inbound-group-session-p.hpp:18
bool unpickleFromLibolm(std::string pickleData)
Definition: inbound-group-session.cpp:65
void to_json(nlohmann::json &j, const KeyOfGroupSession &k)
Definition: crypto-util.hpp:42
bool unpickle(std::string pickleData)
Definition: inbound-group-session.cpp:57
std::size_t checkError(std::size_t code) const
std::string eventId
Definition: inbound-group-session-p.hpp:20
bool valid
Definition: inbound-group-session-p.hpp:59
~InboundGroupSessionPrivate()=default