Composer: allow sending a reply with no text

Useful for "forwarding" a message (to the same room)
This commit is contained in:
miruka 2020-08-24 09:38:06 -04:00
parent bbb46a9feb
commit 6d9a013d5d

View File

@ -120,7 +120,7 @@ HTextArea {
} }
function sendText() { function sendText() {
if (! toSend) return if (! toSend && ! chat.replyToEventId) return
// Need to copy usersCompleted because the completion UI closing will // Need to copy usersCompleted because the completion UI closing will
// clear it before it reaches Python. // clear it before it reaches Python.