diff --git a/lib/src/utils/event_update.dart b/lib/src/utils/event_update.dart index 772eeebe..7d307a63 100644 --- a/lib/src/utils/event_update.dart +++ b/lib/src/utils/event_update.dart @@ -36,7 +36,7 @@ class EventUpdate { /// Most events belong to a room. If not, this equals to eventType. final String roomID; - @Deprecated("Use `content['eventType']` instead.") + @Deprecated("Use `content['type']` instead.") String get eventType => content['type']; // The json payload of the content of this event.