From 80e665d4a2b5fb851276bdec183c8ee2caa0f33a Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Wed, 25 Mar 2015 18:59:27 +0300 Subject: [PATCH] Fixed max file size = 1.5Gb --- app/js/lib/mtproto_wrapper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/js/lib/mtproto_wrapper.js b/app/js/lib/mtproto_wrapper.js index 5ecc5ff7..fa1821a6 100644 --- a/app/js/lib/mtproto_wrapper.js +++ b/app/js/lib/mtproto_wrapper.js @@ -556,7 +556,7 @@ angular.module('izhukov.mtproto.wrapper', ['izhukov.utils', 'izhukov.mtproto']) } var totalParts = Math.ceil(fileSize / partSize); - if (totalParts > 1500) { + if (totalParts > 3000) { return $q.reject({type: 'FILE_TOO_BIG'}); }