aboutsummaryrefslogtreecommitdiff
path: root/src/components/chat/chat.vue
diff options
context:
space:
mode:
authoreugenijm <eugenijm@protonmail.com>2020-10-29 13:33:06 +0300
committereugenijm <eugenijm@protonmail.com>2020-11-01 23:36:58 +0300
commite798e9a4177f025dda2b40d109fa40c2ebfd814e (patch)
treee9916a0cf615fbff6cc5296494476cea89ac7996 /src/components/chat/chat.vue
parent148789767a28a988751af9635cd53fe6d85a4c75 (diff)
Optimistic message sending for chat
Diffstat (limited to 'src/components/chat/chat.vue')
-rw-r--r--src/components/chat/chat.vue1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/chat/chat.vue b/src/components/chat/chat.vue
index 5f58b9a6..94a0097c 100644
--- a/src/components/chat/chat.vue
+++ b/src/components/chat/chat.vue
@@ -80,6 +80,7 @@
:disable-sensitivity-checkbox="true"
:disable-submit="errorLoadingChat || !currentChat"
:disable-preview="true"
+ :optimistic-posting="true"
:post-handler="sendMessage"
:submit-on-enter="!mobileLayout"
:preserve-focus="!mobileLayout"