aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Fella <fella@posteo.de>2022-02-14 21:46:27 +0100
committerTobias Fella <fella@posteo.de>2022-02-14 21:46:27 +0100
commit34cd6a6c6dfe2981001341f39e4e1e9aaa9c8898 (patch)
tree2e09e0f20525b5cbde4a05a211a6389e4aa2b2b3
parent7221c10118a8895ec39ba6a78768574a4b00dfed (diff)
downloadlibquotient-34cd6a6c6dfe2981001341f39e4e1e9aaa9c8898.tar.gz
libquotient-34cd6a6c6dfe2981001341f39e4e1e9aaa9c8898.zip
Don't set lifetime as version in call invites
-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") },