From 845485595fbe5df8ff800ce068ea5e051f896dd5 Mon Sep 17 00:00:00 2001 From: ayn2op Date: Sun, 30 Nov 2025 16:19:59 -0500 Subject: [PATCH] fix: allow empty text if message input has attachments --- cmd/message_input.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cmd/message_input.go b/cmd/message_input.go index a025081..1f97d57 100644 --- a/cmd/message_input.go +++ b/cmd/message_input.go @@ -160,14 +160,11 @@ func (mi *messageInput) send() { } text := strings.TrimSpace(mi.GetText()) - if text == "" { + if text == "" && len(mi.sendMessageData.Files) == 0 { return } text = processText(app.chatView.selectedChannelID, []byte(text)) - if text == "" { - return - } if mi.edit { m, err := app.chatView.messagesList.selectedMessage()