diff --git a/lib/widgets/chat/chat_message_input.dart b/lib/widgets/chat/chat_message_input.dart index ce058b5..339fc88 100644 --- a/lib/widgets/chat/chat_message_input.dart +++ b/lib/widgets/chat/chat_message_input.dart @@ -129,6 +129,8 @@ class _ChatMessageInputState extends State { client = auth.configureClient('messaging'); + if (_textController.text.trim().isEmpty && _attachments.isEmpty) return; + const uuid = Uuid(); final payload = { 'uuid': uuid.v4(),