mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fixed display of forums in share box with applied chats filter.
This commit is contained in:
parent
9d3b3476c2
commit
013b58f6f6
1 changed files with 2 additions and 1 deletions
|
@ -1388,7 +1388,8 @@ void ShareBox::Inner::applyChatFilter(FilterId id) {
|
||||||
const auto addList = [&](not_null<Dialogs::IndexedList*> list) {
|
const auto addList = [&](not_null<Dialogs::IndexedList*> list) {
|
||||||
for (const auto &row : list->all()) {
|
for (const auto &row : list->all()) {
|
||||||
if (const auto history = row->history()) {
|
if (const auto history = row->history()) {
|
||||||
if (_descriptor.filterCallback(history)) {
|
if (history->asForum()
|
||||||
|
|| _descriptor.filterCallback(history)) {
|
||||||
_customChatsIndexed->addToEnd(history);
|
_customChatsIndexed->addToEnd(history);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue