mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
Fix bug causing crash in group recounting.
This commit is contained in:
@@ -1200,6 +1200,7 @@ void HistoryItem::makeGroupLeader(
|
||||
|
||||
const auto leaderChanged = (group->leader != this);
|
||||
if (leaderChanged) {
|
||||
group->leader = this;
|
||||
_flags &= ~MTPDmessage_ClientFlag::f_hidden_by_group;
|
||||
setPendingInitDimensions();
|
||||
}
|
||||
|
Reference in New Issue
Block a user