diff --git a/lib/models/messages/twitch/subscription_message_event.dart b/lib/models/messages/twitch/subscription_message_event.dart index b2e775c27..0b2c10934 100644 --- a/lib/models/messages/twitch/subscription_message_event.dart +++ b/lib/models/messages/twitch/subscription_message_event.dart @@ -46,6 +46,9 @@ class TwitchSubscriptionMessageEventModel extends MessageModel { : super(messageId: messageId, timestamp: timestamp); String emotesToString() { + if (emotes.isEmpty) { + return ""; + } return emotes .map((e) => '${e.id}:${e.begin}-${e.end}') .reduce((value, element) => '$value/$element');