aboutsummaryrefslogtreecommitdiff
path: root/lib/events/directchatevent.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/events/directchatevent.h')
-rw-r--r--lib/events/directchatevent.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/events/directchatevent.h b/lib/events/directchatevent.h
index 2018d3d6..942edba4 100644
--- a/lib/events/directchatevent.h
+++ b/lib/events/directchatevent.h
@@ -8,11 +8,10 @@
namespace Quotient {
class QUOTIENT_API DirectChatEvent : public Event {
public:
- DEFINE_EVENT_TYPEID("m.direct", DirectChatEvent)
+ QUO_EVENT(DirectChatEvent, "m.direct")
explicit DirectChatEvent(const QJsonObject& obj) : Event(typeId(), obj) {}
QMultiHash<QString, QString> usersToDirectChats() const;
};
-REGISTER_EVENT_TYPE(DirectChatEvent)
} // namespace Quotient