summary refs log tree commit diff
path: root/src/CacheCryptoStructs.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2024-03-16 03:55:57 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2024-03-16 11:50:39 +0100
commitaef9617d1ec7f73a394ed4bb43b4436e27225176 (patch)
treecd34e86e42c22b8ab3f8c93b0098645fcce9acca /src/CacheCryptoStructs.cpp
parentInclude moc files for a tiny speedup on incremental builds (diff)
downloadnheko-aef9617d1ec7f73a394ed4bb43b4436e27225176.tar.xz
Make a few headers forward declarations
Diffstat (limited to 'src/CacheCryptoStructs.cpp')
-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"