aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/events/callinviteevent.cpp2
1 files changed, 1 insertions, 1 deletions
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") },