aboutsummaryrefslogtreecommitdiff
path: root/lib/events/receiptevent.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/events/receiptevent.h')
-rw-r--r--lib/events/receiptevent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/events/receiptevent.h b/lib/events/receiptevent.h
index 5b99ae3f..e1d2d1ec 100644
--- a/lib/events/receiptevent.h
+++ b/lib/events/receiptevent.h
@@ -42,7 +42,7 @@ namespace QMatrixClient
EventsWithReceipts eventsWithReceipts() const
{ return _eventsWithReceipts; }
- static constexpr const char* const TypeId = "m.receipt";
+ static constexpr const char* typeId() { return "m.receipt"; }
private:
EventsWithReceipts _eventsWithReceipts;