summary refs log tree commit diff
path: root/src/CacheCryptoStructs.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/CacheCryptoStructs.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/CacheCryptoStructs.cpp b/src/CacheCryptoStructs.cpp
new file mode 100644

index 00000000..7dc2468a --- /dev/null +++ b/src/CacheCryptoStructs.cpp
@@ -0,0 +1,15 @@ +// SPDX-FileCopyrightText: Nheko Contributors +// +// SPDX-License-Identifier: GPL-3.0-or-later + +#include "CacheCryptoStructs.h" + +#include <mtx/events/encrypted.hpp> + +MegolmSessionIndex::MegolmSessionIndex(std::string room_id_, const mtx::events::msg::Encrypted &e) + : room_id(std::move(room_id_)) + , session_id(e.session_id) +{ +} + +#include "moc_CacheCryptoStructs.cpp"