mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-07 04:05:17 +00:00
Fix crash in community grouping toggle with pinned chats.
This commit is contained in:
@@ -5327,7 +5327,7 @@ not_null<Dialogs::MainList*> Session::chatsListFor(
|
||||
} else if (const auto history = entry->asHistory()) {
|
||||
if (const auto info = history->communityListInfo()
|
||||
; info
|
||||
&& info->collapsedInDialogs()
|
||||
&& info->collapsedInChatLists()
|
||||
&& info->channel() != history->peer) {
|
||||
return info->chatsList();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user