Add update_dialog_filter_on_server.

GitOrigin-RevId: 699ae56d8c6d582f95c502fa75d0802c8385b8ef
This commit is contained in:
levlam 2020-05-28 02:08:56 +03:00
parent 0f93d0fd56
commit 77d9f547a3

View File

@ -15448,7 +15448,9 @@ void MessagesManager::edit_dialog_filter(DialogFilterId dialog_filter_id, td_api
void MessagesManager::update_dialog_filter_on_server(unique_ptr<DialogFilter> &&dialog_filter,
Promise<Unit> &&promise) {
CHECK(dialog_filter != nullptr);
dialog_filter->remove_secret_chat_dialog_ids();
auto dialog_filter_id = dialog_filter->dialog_filter_id;
auto input_dialog_filter = dialog_filter->get_input_dialog_filter();
// TODO SequenceDispatcher