mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-07 07:41:43 +00:00
Fix bug causing crash in group recounting.
This commit is contained in:
parent
712b3f481c
commit
49def354bd
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user