Don't show message bottom info in bot about.

This commit is contained in:
John Preston 2023-09-06 13:40:49 +04:00
parent 3332f012cf
commit dbd4aecc56
2 changed files with 6 additions and 0 deletions

View File

@ -1923,6 +1923,9 @@ bool Gif::dataLoaded() const {
}
bool Gif::needInfoDisplay() const {
if (_parent->data()->isFakeBotAbout()) {
return false;
}
return _parent->data()->isSending()
|| _data->uploading()
|| _parent->isUnderCursor()

View File

@ -850,6 +850,9 @@ bool Photo::dataLoaded() const {
}
bool Photo::needInfoDisplay() const {
if (_parent->data()->isFakeBotAbout()) {
return false;
}
return _parent->data()->isSending()
|| _parent->data()->hasFailed()
|| _parent->isUnderCursor()