mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-06 11:52:58 +00:00
Fix crash in community grouping toggle with pinned chats.
This commit is contained in:
@@ -472,7 +472,8 @@ void Entry::removeFromChatList(
|
||||
FilterId filterId,
|
||||
not_null<MainList*> list) {
|
||||
if (isPinnedDialog(filterId)) {
|
||||
owner().setChatPinned(this, filterId, false);
|
||||
list->pinned()->setPinned(this, false);
|
||||
owner().notifyPinnedDialogsOrderUpdated();
|
||||
}
|
||||
if (filterId) {
|
||||
const auto it = _tagColors.find(filterId);
|
||||
|
||||
Reference in New Issue
Block a user