Various improvements and bug fixes

This commit is contained in:
Ilya Laktyushin
2019-03-17 15:31:10 +03:00
parent 826e1291d6
commit 756e7b836a
58 changed files with 3191 additions and 2860 deletions

View File

@@ -12,7 +12,7 @@ func isMediaStreamable(message: Message, media: TelegramMediaFile) -> Bool {
guard let size = media.size else {
return false
}
if size < 1 * 1024 * 1024 {
if size < 256 * 1024 {
return false
}
for attribute in media.attributes {