From 85b3461c20f7f476673c45c86bf92a4af8211434 Mon Sep 17 00:00:00 2001
From: ubermanu <e.vodor@gmail.com>
Date: Thu, 18 Feb 2021 15:12:42 +0100
Subject: [PATCH] Restore the upload file button

---
 src/solid-xmpp-chat.js | 2 +-
 src/styles/index.scss  | 8 --------
 2 files changed, 1 insertion(+), 9 deletions(-)

diff --git a/src/solid-xmpp-chat.js b/src/solid-xmpp-chat.js
index ad96789..c24aa78 100644
--- a/src/solid-xmpp-chat.js
+++ b/src/solid-xmpp-chat.js
@@ -422,7 +422,7 @@ export const SolidXMPPChat = {
           call: false,
           spoiler: false,
           emoji: true,
-          fileupload: false, // Not working in current Converse
+          fileupload: true, // Not working in current Converse
           toggle_occupants: false
         },
         'whitelisted_plugins': ['rai', 'conversejs-sib-disconnected', 'conversejs-sib-connected', 'conversejs-sib-focused', 'conversejs-changechat', 'conversejs-rai', 'custom-hats', 'remove-notifications'],
diff --git a/src/styles/index.scss b/src/styles/index.scss
index 1eec903..19aed3d 100644
--- a/src/styles/index.scss
+++ b/src/styles/index.scss
@@ -153,14 +153,6 @@
     font-size: 12px;
   }
 
-
-  /* Hide send file button */
-  button[title="Choose a file to send"] {
-    display: none;
-    border: none;
-    background: none;
-  }
-
   /* To hide the trash icon because you can't remove a message for now */
   >.converse-chatboxes .chat-body .chat-msg__actions>button.chat-msg__action.fa-trash-alt {
     display: none;
-- 
GitLab