1
0
mirror of https://github.com/fabianonline/telegram_backup.git synced 2025-07-03 21:56:26 +00:00

Update DocumentFileManager.kt

This commit is contained in:
Leijurv
2018-02-14 11:29:12 -08:00
committed by GitHub
parent 72b4a33f46
commit 46be107dcb

View File

@ -99,7 +99,7 @@ open class DocumentFileManager(msg: TLMessage, user: UserManager, client: Telegr
@Throws(RpcErrorException::class, IOException::class, TimeoutException::class) @Throws(RpcErrorException::class, IOException::class, TimeoutException::class)
override fun download() { override fun download() {
if (doc != null) { if (doc != null) {
DownloadManager.downloadFile(targetPathAndFilename, size, doc!!.getDcId(), doc!!.getId(), doc!!.getAccessHash()) DownloadManager.downloadFile(targetPathAndFilename, size, doc!!.getDcId(), doc!!.getId(), doc!!.getAccessHash(), doc!!.getVersion())
} }
} }
} }