aboutsummaryrefslogtreecommitdiff
path: root/lib/events/typingevent.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/events/typingevent.h')
-rw-r--r--lib/events/typingevent.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/events/typingevent.h b/lib/events/typingevent.h
index 522f7e42..b56475af 100644
--- a/lib/events/typingevent.h
+++ b/lib/events/typingevent.h
@@ -6,13 +6,5 @@
#include "event.h"
namespace Quotient {
-class QUOTIENT_API TypingEvent : public Event {
-public:
- DEFINE_EVENT_TYPEID("m.typing", TypingEvent)
-
- explicit TypingEvent(const QJsonObject& obj) : Event(typeId(), obj) {}
-
- QStringList users() const;
-};
-REGISTER_EVENT_TYPE(TypingEvent)
+DEFINE_SIMPLE_EVENT(TypingEvent, Event, "m.typing", QStringList, users, "user_ids")
} // namespace Quotient