2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 14:17:45 +00:00

Filter only chats from the list in exceptions.

This commit is contained in:
John Preston
2020-03-20 17:49:43 +04:00
parent b42ba1a7a3
commit 2dbaee4fe1

View File

@@ -409,7 +409,7 @@ object_ptr<Ui::RpWidget> EditFilterChatsListController::prepareTypesList() {
auto EditFilterChatsListController::createRow(not_null<History*> history) auto EditFilterChatsListController::createRow(not_null<History*> history)
-> std::unique_ptr<Row> { -> std::unique_ptr<Row> {
return std::make_unique<Row>(history); return history->inChatList() ? std::make_unique<Row>(history) : nullptr;
} }
void EditFilterChatsListController::updateTitle() { void EditFilterChatsListController::updateTitle() {