aboutsummaryrefslogtreecommitdiff
path: root/lib/events/callinviteevent.cpp
diff options
context:
space:
mode:
authorJosip Delic <delijati@googlemail.com>2018-08-25 20:17:29 +0200
committerJosip Delic <delijati@googlemail.com>2018-08-25 20:17:29 +0200
commit508d1f5e14f0286bb3feaf74c4f143ce2a950234 (patch)
tree173848f86b0e89803b8c2ec7562b148500077337 /lib/events/callinviteevent.cpp
parent41b408334619a6e755fffbef1c40e7165ab0e0f7 (diff)
downloadlibquotient-508d1f5e14f0286bb3feaf74c4f143ce2a950234.tar.gz
libquotient-508d1f5e14f0286bb3feaf74c4f143ce2a950234.zip
Update make it compile
Diffstat (limited to 'lib/events/callinviteevent.cpp')
-rw-r--r--lib/events/callinviteevent.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/events/callinviteevent.cpp b/lib/events/callinviteevent.cpp
index 5eb07ce2..71c49d66 100644
--- a/lib/events/callinviteevent.cpp
+++ b/lib/events/callinviteevent.cpp
@@ -48,7 +48,7 @@ m.call.invite
using namespace QMatrixClient;
CallInviteEvent::CallInviteEvent(const QJsonObject& obj)
- : RoomEvent(CallInvite, obj)
+ : RoomEvent(typeId(), obj)
, _lifetime(contentJson()["lifetime"].toInt())
, _sdp(contentJson()["offer"].toObject()["sdp"].toString())
, _callId(contentJson()["call_id"].toString())
@@ -59,7 +59,7 @@ CallInviteEvent::CallInviteEvent(const QJsonObject& obj)
CallInviteEvent::CallInviteEvent(const QString& callId, const int lifetime,
const QString& sdp)
- : RoomEvent(CallInvite)
+ : RoomEvent(typeId(), NULL)
{
_version = 0;
_callId = callId;