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()