mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 23:27:09 +02:00
Fixed display of edit badge in albums.
This commit is contained in:
parent
b5d9947408
commit
08939ac51d
1 changed files with 2 additions and 1 deletions
|
@ -2729,7 +2729,8 @@ bool Message::displayEditedBadge() const {
|
|||
|
||||
TimeId Message::displayedEditDate() const {
|
||||
const auto item = message();
|
||||
if (item->hideEditedBadge()) {
|
||||
const auto overrided = media() && media()->overrideEditedDate();
|
||||
if (item->hideEditedBadge() && !overrided) {
|
||||
return TimeId(0);
|
||||
} else if (const auto edited = displayedEditBadge()) {
|
||||
return edited->date;
|
||||
|
|
Loading…
Add table
Reference in a new issue