mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Use first message of album as the leader.
This commit is contained in:
@@ -1234,7 +1234,7 @@ void Session::notifyItemIdChange(IdChange event) {
|
||||
};
|
||||
enumerateItemViews(item, refreshViewDataId);
|
||||
if (const auto group = groups().find(item)) {
|
||||
const auto leader = group->items.back();
|
||||
const auto leader = group->items.front();
|
||||
if (leader != item) {
|
||||
enumerateItemViews(leader, refreshViewDataId);
|
||||
}
|
||||
|
Reference in New Issue
Block a user