From 6d9a013d5dcfe5f5dd4197945cb91542743a2704 Mon Sep 17 00:00:00 2001 From: miruka Date: Mon, 24 Aug 2020 09:38:06 -0400 Subject: [PATCH] Composer: allow sending a reply with no text Useful for "forwarding" a message (to the same room) --- src/gui/Pages/Chat/Composer/MessageArea.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/Pages/Chat/Composer/MessageArea.qml b/src/gui/Pages/Chat/Composer/MessageArea.qml index c716db16..cd5fcdc7 100644 --- a/src/gui/Pages/Chat/Composer/MessageArea.qml +++ b/src/gui/Pages/Chat/Composer/MessageArea.qml @@ -120,7 +120,7 @@ HTextArea { } function sendText() { - if (! toSend) return + if (! toSend && ! chat.replyToEventId) return // Need to copy usersCompleted because the completion UI closing will // clear it before it reaches Python.