aboutsummaryrefslogtreecommitdiff
path: root/lib/events/callanswerevent.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/events/callanswerevent.h')
-rw-r--r--lib/events/callanswerevent.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/lib/events/callanswerevent.h b/lib/events/callanswerevent.h
deleted file mode 100644
index c5ad14df..00000000
--- a/lib/events/callanswerevent.h
+++ /dev/null
@@ -1,24 +0,0 @@
-// SPDX-FileCopyrightText: 2017 Marius Gripsgard <marius@ubports.com>
-// SPDX-FileCopyrightText: 2018 Josip Delic <delijati@googlemail.com>
-// SPDX-License-Identifier: LGPL-2.1-or-later
-
-#pragma once
-
-#include "roomevent.h"
-
-namespace Quotient {
-class QUOTIENT_API CallAnswerEvent
- : public EventTemplate<CallAnswerEvent, CallEventBase> {
-public:
- QUO_EVENT(CallAnswerEvent, "m.call.answer")
-
- using EventTemplate::EventTemplate;
-
- explicit CallAnswerEvent(const QString& callId, const QString& sdp);
-
- QString sdp() const
- {
- return contentPart<QJsonObject>("answer"_ls).value("sdp"_ls).toString();
- }
-};
-} // namespace Quotient