aboutsummaryrefslogtreecommitdiff
path: root/lib/events/callinviteevent.cpp
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-02-14 22:51:55 +0100
committerGitHub <noreply@github.com>2022-02-14 22:51:55 +0100
commit2aab2a0c95bbd3f12890badb58a825bb57d8e613 (patch)
tree2e09e0f20525b5cbde4a05a211a6389e4aa2b2b3 /lib/events/callinviteevent.cpp
parent7221c10118a8895ec39ba6a78768574a4b00dfed (diff)
parent34cd6a6c6dfe2981001341f39e4e1e9aaa9c8898 (diff)
downloadlibquotient-2aab2a0c95bbd3f12890badb58a825bb57d8e613.tar.gz
libquotient-2aab2a0c95bbd3f12890badb58a825bb57d8e613.zip
Merge pull request #533 from TobiasFella/fixcalls
Don't set lifetime as version in call invites
Diffstat (limited to 'lib/events/callinviteevent.cpp')
-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") },