aboutsummaryrefslogtreecommitdiff
path: root/lib/events/redactionevent.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/events/redactionevent.h')
-rw-r--r--lib/events/redactionevent.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/events/redactionevent.h b/lib/events/redactionevent.h
index 63617e54..c193054a 100644
--- a/lib/events/redactionevent.h
+++ b/lib/events/redactionevent.h
@@ -8,7 +8,7 @@
namespace Quotient {
class QUOTIENT_API RedactionEvent : public RoomEvent {
public:
- DEFINE_EVENT_TYPEID("m.room.redaction", RedactionEvent)
+ QUO_EVENT(RedactionEvent, "m.room.redaction")
explicit RedactionEvent(const QJsonObject& obj) : RoomEvent(typeId(), obj)
{}
@@ -19,5 +19,4 @@ public:
}
QUO_CONTENT_GETTER(QString, reason)
};
-REGISTER_EVENT_TYPE(RedactionEvent)
} // namespace Quotient