aboutsummaryrefslogtreecommitdiff
path: root/lib/events/callhangupevent.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/events/callhangupevent.h')
-rw-r--r--lib/events/callhangupevent.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/lib/events/callhangupevent.h b/lib/events/callhangupevent.h
index e4d9bb78..f0b131b9 100644
--- a/lib/events/callhangupevent.h
+++ b/lib/events/callhangupevent.h
@@ -7,15 +7,11 @@
#include "roomevent.h"
namespace Quotient {
-class QUOTIENT_API CallHangupEvent : public CallEventBase {
+class QUOTIENT_API CallHangupEvent
+ : public EventTemplate<CallHangupEvent, CallEventBase> {
public:
QUO_EVENT(CallHangupEvent, "m.call.hangup")
-
- explicit CallHangupEvent(const QJsonObject& obj)
- : CallEventBase(typeId(), obj)
- {}
- explicit CallHangupEvent(const QString& callId)
- : CallEventBase(typeId(), matrixTypeId(), callId, 0)
- {}
+ using EventTemplate::EventTemplate;
};
+//REGISTER_EVENT_TYPE(CallHangupEvent)
} // namespace Quotient