Composer: allow sending a reply with no text
Useful for "forwarding" a message (to the same room)
This commit is contained in:
parent
bbb46a9feb
commit
6d9a013d5d
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user