mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
parent
dd92f7fb9d
commit
2a0babe5ab
1 changed files with 4 additions and 1 deletions
|
@ -1221,7 +1221,10 @@ bool DocumentData::hasWebLocation() const {
|
|||
}
|
||||
|
||||
bool DocumentData::isNull() const {
|
||||
return !hasRemoteLocation() && !hasWebLocation() && _url.isEmpty();
|
||||
return !hasRemoteLocation()
|
||||
&& !hasWebLocation()
|
||||
&& _url.isEmpty()
|
||||
&& !uploading();
|
||||
}
|
||||
|
||||
MTPInputDocument DocumentData::mtpInput() const {
|
||||
|
|
Loading…
Add table
Reference in a new issue