aboutsummaryrefslogtreecommitdiff
path: root/lib/events/callinviteevent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/events/callinviteevent.cpp')
-rw-r--r--lib/events/callinviteevent.cpp17
1 files changed, 8 insertions, 9 deletions
diff --git a/lib/events/callinviteevent.cpp b/lib/events/callinviteevent.cpp
index bca3f296..f565fc3e 100644
--- a/lib/events/callinviteevent.cpp
+++ b/lib/events/callinviteevent.cpp
@@ -13,13 +13,12 @@
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "callinviteevent.h"
#include "event.h"
-
#include "logging.h"
#include <QtCore/QJsonDocument>
@@ -55,10 +54,10 @@ CallInviteEvent::CallInviteEvent(const QJsonObject& obj)
CallInviteEvent::CallInviteEvent(const QString& callId, const int lifetime,
const QString& sdp)
- : CallEventBase(typeId(), matrixTypeId(), callId, lifetime,
- { { QStringLiteral("lifetime"), lifetime }
- , { QStringLiteral("offer"), QJsonObject {
- { QStringLiteral("type"), QStringLiteral("offer") },
- { QStringLiteral("sdp"), sdp } }
- }})
-{ }
+ : CallEventBase(
+ typeId(), matrixTypeId(), callId, lifetime,
+ { { QStringLiteral("lifetime"), lifetime },
+ { QStringLiteral("offer"),
+ QJsonObject { { QStringLiteral("type"), QStringLiteral("offer") },
+ { QStringLiteral("sdp"), sdp } } } })
+{}