aboutsummaryrefslogtreecommitdiff
path: root/lib/events/callanswerevent.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/events/callanswerevent.h')
-rw-r--r--lib/events/callanswerevent.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/events/callanswerevent.h b/lib/events/callanswerevent.h
index 70ca1c7e..c5ad14df 100644
--- a/lib/events/callanswerevent.h
+++ b/lib/events/callanswerevent.h
@@ -7,11 +7,12 @@
#include "roomevent.h"
namespace Quotient {
-class QUOTIENT_API CallAnswerEvent : public CallEventBase {
+class QUOTIENT_API CallAnswerEvent
+ : public EventTemplate<CallAnswerEvent, CallEventBase> {
public:
QUO_EVENT(CallAnswerEvent, "m.call.answer")
- explicit CallAnswerEvent(const QJsonObject& obj);
+ using EventTemplate::EventTemplate;
explicit CallAnswerEvent(const QString& callId, const QString& sdp);