Fixed max file size = 1.5Gb
This commit is contained in:
parent
b04b718490
commit
80e665d4a2
@ -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'});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user