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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/events/typingevent.h b/lib/events/typingevent.h
index 8c9551a4..6ccbc1c8 100644
--- a/lib/events/typingevent.h
+++ b/lib/events/typingevent.h
@@ -27,7 +27,7 @@ namespace QMatrixClient
class TypingEvent: public Event
{
public:
- static constexpr const char* const TypeId = "m.typing";
+ static constexpr const char* typeId() { return "m.typing"; }
TypingEvent(const QJsonObject& obj);