From 72151e7cbd3925ab5b157674f30569f8dff038b9 Mon Sep 17 00:00:00 2001 From: mjentsch Date: Mon, 13 Mar 2017 21:56:49 +0100 Subject: [PATCH] Increase default file size download threshold Far too many files are bigger than 8mb, we need a more pleasant default behavior --- telegram-purple.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telegram-purple.h b/telegram-purple.h index f8e5ab2..e45fe29 100644 --- a/telegram-purple.h +++ b/telegram-purple.h @@ -67,7 +67,7 @@ #define TGP_MAX_MSG_SIZE 4096 #define TGP_DEFAULT_MAX_MSG_SPLIT_COUNT 4 -#define TGP_DEFAULT_MEDIA_SIZE 8192 +#define TGP_DEFAULT_MEDIA_SIZE 32768 #define TGP_KEY_MEDIA_SIZE "media-size-threshold" #define TGP_KEY_PASSWORD_TWO_FACTOR "password-two-factor"