mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Fixed display of forums in share box with applied chats filter.
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user