summary refs log tree commit diff
path: root/src/CacheCryptoStructs.cpp
blob: 7dc2468a55615fffd7e78ec2483cf76eebe9cdf9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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"