aboutsummaryrefslogtreecommitdiff
path: root/lib/events/callhangupevent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/events/callhangupevent.cpp')
-rw-r--r--lib/events/callhangupevent.cpp4
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;