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/callhangupevent.cpp | |
parent | 41b408334619a6e755fffbef1c40e7165ab0e0f7 (diff) | |
download | libquotient-508d1f5e14f0286bb3feaf74c4f143ce2a950234.tar.gz libquotient-508d1f5e14f0286bb3feaf74c4f143ce2a950234.zip |
Update make it compile
Diffstat (limited to 'lib/events/callhangupevent.cpp')
-rw-r--r-- | lib/events/callhangupevent.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/events/callhangupevent.cpp b/lib/events/callhangupevent.cpp index e83f506f..27f41a5f 100644 --- a/lib/events/callhangupevent.cpp +++ b/lib/events/callhangupevent.cpp @@ -44,7 +44,7 @@ using namespace QMatrixClient; CallHangupEvent::CallHangupEvent(const QJsonObject& obj) - : RoomEvent(CallHangup, obj) + : RoomEvent(typeId(), obj) , _callId(contentJson()["call_id"].toString()) , _version(contentJson()["version"].toInt()) { @@ -52,7 +52,7 @@ CallHangupEvent::CallHangupEvent(const QJsonObject& obj) } CallHangupEvent::CallHangupEvent(const QString& callId) - : RoomEvent(CallHangup) + : RoomEvent(typeId(), NULL) { _version = 0; _callId = callId; |