mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Don't show message bottom info in bot about.
This commit is contained in:
parent
3332f012cf
commit
dbd4aecc56
2 changed files with 6 additions and 0 deletions
|
@ -1923,6 +1923,9 @@ bool Gif::dataLoaded() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Gif::needInfoDisplay() const {
|
bool Gif::needInfoDisplay() const {
|
||||||
|
if (_parent->data()->isFakeBotAbout()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
return _parent->data()->isSending()
|
return _parent->data()->isSending()
|
||||||
|| _data->uploading()
|
|| _data->uploading()
|
||||||
|| _parent->isUnderCursor()
|
|| _parent->isUnderCursor()
|
||||||
|
|
|
@ -850,6 +850,9 @@ bool Photo::dataLoaded() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Photo::needInfoDisplay() const {
|
bool Photo::needInfoDisplay() const {
|
||||||
|
if (_parent->data()->isFakeBotAbout()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
return _parent->data()->isSending()
|
return _parent->data()->isSending()
|
||||||
|| _parent->data()->hasFailed()
|
|| _parent->data()->hasFailed()
|
||||||
|| _parent->isUnderCursor()
|
|| _parent->isUnderCursor()
|
||||||
|
|
Loading…
Add table
Reference in a new issue