diff options
Diffstat (limited to 'lib/events/callinviteevent.cpp')
-rw-r--r-- | lib/events/callinviteevent.cpp | 4 |
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; |