FIX: Return on mobile shouldn't send message (#229)

FIX: Return on mobile shouldn’t send message (#229)

diff --git a/assets/javascripts/discourse/components/chat-composer.js b/assets/javascripts/discourse/components/chat-composer.js
index 83b2a83..4433234 100644
--- a/assets/javascripts/discourse/components/chat-composer.js
+++ b/assets/javascripts/discourse/components/chat-composer.js
@@ -177,6 +177,10 @@ export default Component.extend(
     },
 
     keyDown(event) {
+      if (this.site.mobileView) {
+        return;
+      }
+
       if (event.keyCode === 13) {
         // keyCode for 'Enter'
         if (event.shiftKey) {

GitHub sha: d7ab5e46f0a4b2d4f83d60ac2830748a2bb902bd

This commit appears in #229 which was approved by eviltrout. It was merged by markvanlan.