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:
@@ -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() {
|
||||||
|
Reference in New Issue
Block a user