2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Save and restore downloads between launches.

This commit is contained in:
John Preston
2022-02-26 19:08:44 +03:00
parent 3425dc027c
commit 57f17b7afe
7 changed files with 401 additions and 35 deletions

View File

@@ -1256,7 +1256,8 @@ bool DocumentData::isNull() const {
return !hasRemoteLocation()
&& !hasWebLocation()
&& _url.isEmpty()
&& !uploading();
&& !uploading()
&& _location.isEmpty();
}
MTPInputDocument DocumentData::mtpInput() const {