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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/events/directchatevent.h b/lib/events/directchatevent.h
index 2b0ad0a0..bd8f2d35 100644
--- a/lib/events/directchatevent.h
+++ b/lib/events/directchatevent.h
@@ -29,6 +29,6 @@ namespace QMatrixClient
QMultiHash<QString, QString> usersToDirectChats() const;
- static constexpr const char * TypeId = "m.direct";
+ static constexpr const char* typeId() { return "m.direct"; }
};
}