diff --git a/Telegram/SourceFiles/boxes/share_box.cpp b/Telegram/SourceFiles/boxes/share_box.cpp index a2c1db10a..eed3a2e04 100644 --- a/Telegram/SourceFiles/boxes/share_box.cpp +++ b/Telegram/SourceFiles/boxes/share_box.cpp @@ -1388,7 +1388,8 @@ void ShareBox::Inner::applyChatFilter(FilterId id) { const auto addList = [&](not_null list) { for (const auto &row : list->all()) { if (const auto history = row->history()) { - if (_descriptor.filterCallback(history)) { + if (history->asForum() + || _descriptor.filterCallback(history)) { _customChatsIndexed->addToEnd(history); } }