From 8035bcb6c3a6cf422422c0f05b86b7038e2a7023 Mon Sep 17 00:00:00 2001 From: Aevann Date: Wed, 13 Nov 2024 01:08:12 +0200 Subject: [PATCH] [frontend] dont allow multiple uploads in chat --- files/templates/util/macros.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/files/templates/util/macros.html b/files/templates/util/macros.html index 2cc5a5d9e..c94f92f72 100644 --- a/files/templates/util/macros.html +++ b/files/templates/util/macros.html @@ -156,10 +156,10 @@ {% endmacro %} -{% macro file_btn(input_id, disabled) %} +{% macro file_btn(input_id, disabled, multiple=True) %} {% endmacro %} @@ -419,7 +419,7 @@ {{emoji_btn('input-text-chat')}} {{gif_btn('input-text-chat')}} - {{file_btn('file')}} + {{file_btn('file', False, False)}}