mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 15:04:57 +00:00
Removed info display for last messages in Saved Messages.
This commit is contained in:
@@ -286,7 +286,7 @@ bool Element::isUnderCursor() const {
|
||||
}
|
||||
|
||||
bool Element::isLastAndSelfMessage() const {
|
||||
if (!hasOutLayout()) {
|
||||
if (!hasOutLayout() || data()->_history->peer->isSelf()) {
|
||||
return false;
|
||||
}
|
||||
if (const auto last = data()->_history->lastMessage()) {
|
||||
|
||||
@@ -1462,7 +1462,8 @@ bool Gif::needInfoDisplay() const {
|
||||
return _parent->data()->isSending()
|
||||
|| _data->uploading()
|
||||
|| _parent->isUnderCursor()
|
||||
|| _parent->isLastAndSelfMessage();
|
||||
// Don't show the GIF badge if this message has text.
|
||||
|| (!_parent->hasBubble() && _parent->isLastAndSelfMessage());
|
||||
}
|
||||
|
||||
bool Gif::needCornerStatusDisplay() const {
|
||||
|
||||
Reference in New Issue
Block a user