added ctrl+enter to private messages #10413 (#10436)

* added ctrl+enter to private messages #10413

* Fixes #10413
This commit is contained in:
Patricia Beier
2018-06-27 19:07:41 +02:00
committed by Matteo Pagliazzi
parent 61001d0e9a
commit a362914f93

View File

@@ -52,7 +52,7 @@
// @TODO: Implement new message header here when we fix the above
.new-message-row(v-if='selectedConversation.key && !user.flags.chatRevoked')
textarea(v-model='newMessage')
textarea(v-model='newMessage', @keyup.ctrl.enter='sendPrivateMessage()')
button.btn.btn-secondary(@click='sendPrivateMessage()') Send
</template>