Matthias Nott
2026-03-21 25119a9b148a291ba0af4f9f70801d12f2309147
lib/models/message.dart
....@@ -151,4 +151,10 @@
151151 type == MessageType.voice &&
152152 (audioUri == null || audioUri!.isEmpty) &&
153153 content.isEmpty;
154
+
155
+ /// Returns true if this is a text message with no content (empty bubble).
156
+ bool get isEmptyText =>
157
+ type == MessageType.text &&
158
+ content.trim().isEmpty &&
159
+ imageBase64 == null;
154160 }