Fix warning.

This commit is contained in:
AYMENJD 2024-12-05 22:29:46 +03:00 committed by Aliaksei Levin
parent 01ee58bd27
commit cc83909b80

View File

@ -6666,7 +6666,7 @@ void Client::check_business_connection_chat_id(const td::string &business_connec
} }
auto chat_id = r_chat_id.move_as_ok(); auto chat_id = r_chat_id.move_as_ok();
check_business_connection(business_connection_id, std::move(query), check_business_connection(business_connection_id, std::move(query),
[this, chat_id, on_success = std::move(on_success)]( [chat_id, on_success = std::move(on_success)](
const BusinessConnection *business_connection, PromisedQueryPtr query) mutable { const BusinessConnection *business_connection, PromisedQueryPtr query) mutable {
on_success(business_connection, chat_id, std::move(query)); on_success(business_connection, chat_id, std::move(query));
}); });