aboutsummaryrefslogtreecommitdiff
path: root/lib/events/callcandidatesevent.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/callcandidatesevent.cpp
parent41b408334619a6e755fffbef1c40e7165ab0e0f7 (diff)
downloadlibquotient-508d1f5e14f0286bb3feaf74c4f143ce2a950234.tar.gz
libquotient-508d1f5e14f0286bb3feaf74c4f143ce2a950234.zip
Update make it compile
Diffstat (limited to 'lib/events/callcandidatesevent.cpp')
-rw-r--r--lib/events/callcandidatesevent.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/events/callcandidatesevent.cpp b/lib/events/callcandidatesevent.cpp
index bf7f0f79..40d9ce05 100644
--- a/lib/events/callcandidatesevent.cpp
+++ b/lib/events/callcandidatesevent.cpp
@@ -51,7 +51,7 @@ using namespace QMatrixClient;
CallCandidatesEvent::CallCandidatesEvent(const QJsonObject& obj)
- : RoomEvent(CallCandidates, obj)
+ : RoomEvent(typeId(), obj)
, _candidates(contentJson()["candidates"].toArray())
, _callId(contentJson()["call_id"].toString())
, _version(contentJson()["version"].toInt())
@@ -61,7 +61,7 @@ CallCandidatesEvent::CallCandidatesEvent(const QJsonObject& obj)
CallCandidatesEvent::CallCandidatesEvent(const QString& callId,
const QJsonArray& candidates)
- : RoomEvent(CallCandidates)
+ : RoomEvent(typeId(), NULL)
{
_version = 0;
_callId = callId;