diff options
author | Josip Delic <delijati@googlemail.com> | 2018-08-25 20:17:29 +0200 |
---|---|---|
committer | Josip Delic <delijati@googlemail.com> | 2018-08-25 20:17:29 +0200 |
commit | 508d1f5e14f0286bb3feaf74c4f143ce2a950234 (patch) | |
tree | 173848f86b0e89803b8c2ec7562b148500077337 /lib/events/callanswerevent.cpp | |
parent | 41b408334619a6e755fffbef1c40e7165ab0e0f7 (diff) | |
download | libquotient-508d1f5e14f0286bb3feaf74c4f143ce2a950234.tar.gz libquotient-508d1f5e14f0286bb3feaf74c4f143ce2a950234.zip |
Update make it compile
Diffstat (limited to 'lib/events/callanswerevent.cpp')
-rw-r--r-- | lib/events/callanswerevent.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/events/callanswerevent.cpp b/lib/events/callanswerevent.cpp index 14221bc1..c28ad305 100644 --- a/lib/events/callanswerevent.cpp +++ b/lib/events/callanswerevent.cpp @@ -48,7 +48,7 @@ m.call.answer using namespace QMatrixClient; CallAnswerEvent::CallAnswerEvent(const QJsonObject& obj) - : RoomEvent(CallAnswer, obj) + : RoomEvent(typeId(), obj) , _lifetime(contentJson()["lifetime"].toInt()) , _sdp(contentJson()["answer"].toObject()["sdp"].toString()) , _callId(contentJson()["call_id"].toString()) @@ -59,7 +59,7 @@ CallAnswerEvent::CallAnswerEvent(const QJsonObject& obj) CallAnswerEvent::CallAnswerEvent(const QString& callId, const int lifetime, const QString& sdp) - : RoomEvent(CallAnswer) + : RoomEvent(typeId(), NULL) { _version = 0; _callId = callId; @@ -68,7 +68,7 @@ CallAnswerEvent::CallAnswerEvent(const QString& callId, const int lifetime, } CallAnswerEvent::CallAnswerEvent(const QString& callId, const QString& sdp) - : RoomEvent(CallAnswer) + : RoomEvent(typeId(), NULL) { _version = 0; _callId = callId; |