mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-01 07:05:13 +00:00
Don't show message bottom info in bot about.
This commit is contained in:
@@ -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()
|
||||||
|
Reference in New Issue
Block a user