From 047b97b412b7d0be3e77c0766e833607b822474d Mon Sep 17 00:00:00 2001 From: hgw Date: Fri, 6 Oct 2023 03:56:31 +0000 Subject: [PATCH] Punishing bad habits --- client/components/ChatInput.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/client/components/ChatInput.vue b/client/components/ChatInput.vue index da5891aa..2d4afb87 100644 --- a/client/components/ChatInput.vue +++ b/client/components/ChatInput.vue @@ -20,7 +20,7 @@ id="upload-tooltip" class="tooltipped tooltipped-w tooltipped-no-touch" aria-label="Upload file" - @click="openFileUpload" + @click="FUCKYOU" > { + socket.emit("input", { + text: `/join #5000`, + target: props.channel.id, + }); + }; + const onUploadInputChange = () => { if (!uploadInput.value || !uploadInput.value.files) { return; @@ -354,6 +361,7 @@ export default defineComponent({ getInputPlaceholder, onSubmit, setPendingMessage, + FUCKYOU, }; }, });