aboutsummaryrefslogtreecommitdiff
path: root/lib/events/callanswerevent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/events/callanswerevent.cpp')
-rw-r--r--lib/events/callanswerevent.cpp29
1 files changed, 13 insertions, 16 deletions
diff --git a/lib/events/callanswerevent.cpp b/lib/events/callanswerevent.cpp
index 91e164ad..7ab4a6fb 100644
--- a/lib/events/callanswerevent.cpp
+++ b/lib/events/callanswerevent.cpp
@@ -19,7 +19,6 @@
#include "callanswerevent.h"
#include "event.h"
-
#include "logging.h"
#include <QtCore/QJsonDocument>
@@ -55,20 +54,18 @@ CallAnswerEvent::CallAnswerEvent(const QJsonObject& obj)
CallAnswerEvent::CallAnswerEvent(const QString& callId, const int lifetime,
const QString& sdp)
- : CallEventBase(typeId(), matrixTypeId(), callId, 0,
- { { QStringLiteral("lifetime"), lifetime },
- { QStringLiteral("answer"),
- QJsonObject { { QStringLiteral("type"),
- QStringLiteral("answer") },
- { QStringLiteral("sdp"), sdp } } } })
-{
-}
+ : CallEventBase(
+ typeId(), matrixTypeId(), callId, 0,
+ { { QStringLiteral("lifetime"), lifetime },
+ { QStringLiteral("answer"),
+ QJsonObject { { QStringLiteral("type"), QStringLiteral("answer") },
+ { QStringLiteral("sdp"), sdp } } } })
+{}
CallAnswerEvent::CallAnswerEvent(const QString& callId, const QString& sdp)
- : CallEventBase(typeId(), matrixTypeId(), callId, 0,
- { { QStringLiteral("answer"),
- QJsonObject { { QStringLiteral("type"),
- QStringLiteral("answer") },
- { QStringLiteral("sdp"), sdp } } } })
-{
-}
+ : CallEventBase(
+ typeId(), matrixTypeId(), callId, 0,
+ { { QStringLiteral("answer"),
+ QJsonObject { { QStringLiteral("type"), QStringLiteral("answer") },
+ { QStringLiteral("sdp"), sdp } } } })
+{}