From 4f8f8db54ffa8d6d2830ad97fe98c8b53294afd2 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 15 Oct 2022 12:13:23 +0200 Subject: [PATCH] reduce allowed size for banners/sidebar/badges from 1MB to 0.5MB --- files/helpers/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/const.py b/files/helpers/const.py index cc66473d2..fd172f744 100644 --- a/files/helpers/const.py +++ b/files/helpers/const.py @@ -394,7 +394,7 @@ GIFT_NOTIF_ID = 5 SIGNUP_FOLLOW_ID = 0 NOTIFICATION_THREAD = 1 -MAX_IMAGE_SIZE_BANNER_RESIZED_MB = 1 +MAX_IMAGE_SIZE_BANNER_RESIZED_MB = 0.5 MAX_IMAGE_AUDIO_SIZE_MB = 8 MAX_IMAGE_AUDIO_SIZE_MB_PATRON = 16 MAX_VIDEO_SIZE_MB = 32