diff --git a/src/js/chat-input.js b/src/js/chat-input.js index de0eec7..9b703c1 100644 --- a/src/js/chat-input.js +++ b/src/js/chat-input.js @@ -33,5 +33,6 @@ function fixHeight() { function send(body) { if (!store.activeRoom.exists()) return + if (!body.trim().length) return return store.activeRoom.value().timeline.send(body) }