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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/events/redactionevent.h b/lib/events/redactionevent.h
index 829b9085..dad54788 100644
--- a/lib/events/redactionevent.h
+++ b/lib/events/redactionevent.h
@@ -25,7 +25,7 @@ namespace QMatrixClient
class RedactionEvent : public RoomEvent
{
public:
- static constexpr const char* const TypeId = "m.room.redaction";
+ static constexpr const char* typeId() { return "m.room.redaction"; }
explicit RedactionEvent(const QJsonObject& obj)
: RoomEvent(Type::Redaction, obj)