Various fixes for media streaming

Preload next track when playing music
Added ability to resend failed messages
This commit is contained in:
Peter
2018-11-02 22:43:30 +04:00
parent f110dd2b66
commit 1fb0bfa240
55 changed files with 615 additions and 231 deletions

View File

@@ -15,7 +15,7 @@ func isMediaStreamable(message: Message, media: TelegramMediaFile) -> Bool {
guard let size = media.size else {
return false
}
if size < 500 * 1024 {
if size < 1 * 1024 * 1024 {
return false
}
return false