aboutsummaryrefslogtreecommitdiff
path: root/lib/events/event.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/events/event.h')
-rw-r--r--lib/events/event.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/events/event.h b/lib/events/event.h
index 95f79da0..2a03f77a 100644
--- a/lib/events/event.h
+++ b/lib/events/event.h
@@ -87,11 +87,7 @@ namespace QMatrixClient
return initializeTypeId(EventT::matrixTypeId());
}
- static event_mtype_t getMatrixType(event_type_t typeId)
- {
- return typeId < get().eventTypes.size()
- ? get().eventTypes[typeId] : "";
- }
+ static QString getMatrixType(event_type_t typeId);
private:
EventTypeRegistry() = default;