Fix handle_errors_ check.
This commit is contained in:
parent
d8e3fd2ee6
commit
b4324ee88c
@ -2265,7 +2265,7 @@ class SearchMessagesQuery final : public Td::ResultHandler {
|
||||
}
|
||||
|
||||
void on_error(uint64 id, Status status) final {
|
||||
if (!handle_errors_) {
|
||||
if (handle_errors_) {
|
||||
td->messages_manager_->on_get_dialog_error(dialog_id_, status, "SearchMessagesQuery");
|
||||
}
|
||||
td->messages_manager_->on_failed_dialog_messages_search(dialog_id_, random_id_);
|
||||
|
Loading…
Reference in New Issue
Block a user