aboutsummaryrefslogtreecommitdiff
path: root/lib/events/roomkeyevent.cpp
blob: dbcb35bdc01cf23e48082019813c771b983d818d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// SPDX-FileCopyrightText: 2019 Alexey Andreyev <aa13q@ya.ru>
// SPDX-License-Identifier: LGPL-2.1-or-later

#include "roomkeyevent.h"
#include "logging.h"

using namespace Quotient;

RoomKeyEvent::RoomKeyEvent(const QJsonObject &obj) : Event(typeId(), obj)
{
    if (roomId().isEmpty())
        qCWarning(E2EE) << "Room key event has empty room id";
}