aboutsummaryrefslogtreecommitdiff
path: root/lib/events/roomkeyevent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/events/roomkeyevent.cpp')
-rw-r--r--lib/events/roomkeyevent.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/lib/events/roomkeyevent.cpp b/lib/events/roomkeyevent.cpp
deleted file mode 100644
index 3a8601d1..00000000
--- a/lib/events/roomkeyevent.cpp
+++ /dev/null
@@ -1,22 +0,0 @@
-// SPDX-FileCopyrightText: 2019 Alexey Andreyev <aa13q@ya.ru>
-// SPDX-License-Identifier: LGPL-2.1-or-later
-
-#include "roomkeyevent.h"
-
-using namespace Quotient;
-
-RoomKeyEvent::RoomKeyEvent(const QJsonObject &obj) : Event(TypeId, obj)
-{
- if (roomId().isEmpty())
- qCWarning(E2EE) << "Room key event has empty room id";
-}
-
-RoomKeyEvent::RoomKeyEvent(const QString& algorithm, const QString& roomId,
- const QString& sessionId, const QString& sessionKey)
- : Event(TypeId, basicJson(TypeId, {
- { "algorithm", algorithm },
- { "room_id", roomId },
- { "session_id", sessionId },
- { "session_key", sessionKey },
- }))
-{}