From 34cd6a6c6dfe2981001341f39e4e1e9aaa9c8898 Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Mon, 14 Feb 2022 21:46:27 +0100 Subject: Don't set lifetime as version in call invites --- lib/events/callinviteevent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/events/callinviteevent.cpp') diff --git a/lib/events/callinviteevent.cpp b/lib/events/callinviteevent.cpp index 5ea54662..11d50768 100644 --- a/lib/events/callinviteevent.cpp +++ b/lib/events/callinviteevent.cpp @@ -36,7 +36,7 @@ CallInviteEvent::CallInviteEvent(const QJsonObject& obj) CallInviteEvent::CallInviteEvent(const QString& callId, const int lifetime, const QString& sdp) : CallEventBase( - typeId(), matrixTypeId(), callId, lifetime, + typeId(), matrixTypeId(), callId, 0, { { QStringLiteral("lifetime"), lifetime }, { QStringLiteral("offer"), QJsonObject { { QStringLiteral("type"), QStringLiteral("offer") }, -- cgit v1.2.3