2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Fix bug causing crash in group recounting.

This commit is contained in:
John Preston
2017-12-17 12:33:08 +04:00
parent 712b3f481c
commit 49def354bd

View File

@@ -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();
}