From 30aeeee05975759cc9b15549daf1f5efe57b54b1 Mon Sep 17 00:00:00 2001 From: Maksim Sukharev Date: Thu, 21 Mar 2024 15:37:50 +0100 Subject: [PATCH] fix(chat): disable drag&drop and Ctrl+V if files upload is not allowed Signed-off-by: Maksim Sukharev --- src/components/ChatView.vue | 30 ++++++++++++++++++------ src/components/NewMessage/NewMessage.vue | 6 ++++- 2 files changed, 28 insertions(+), 8 deletions(-) diff --git a/src/components/ChatView.vue b/src/components/ChatView.vue index af4fb7c16a4..e7dc23c6b53 100644 --- a/src/components/ChatView.vue +++ b/src/components/ChatView.vue @@ -76,6 +76,8 @@