2
0
mirror of https://github.com/ars3niy/tdlib-purple synced 2025-08-22 09:57:52 +00:00

Removed unused function

This commit is contained in:
Arseniy Lartsev 2020-10-11 10:31:04 +02:00
parent 4b6fbb1b2b
commit ef24d620f1
2 changed files with 0 additions and 10 deletions

View File

@ -232,14 +232,6 @@ uint64_t TdTransceiver::sendQuery(td::td_api::object_ptr<td::td_api::Function> f
});
}
uint64_t TdTransceiver::sendQueryWithTimeout(td::td_api::object_ptr<td::td_api::Function> f,
ResponseCb handler, unsigned timeoutSeconds)
{
uint64_t queryId = sendQuery(std::move(f), handler);
setQueryTimer(queryId, handler, timeoutSeconds, true);
return queryId;
}
uint64_t TdTransceiver::sendQueryWithTimeout(td::td_api::object_ptr<td::td_api::Function> f,
ResponseCb2 handler, unsigned timeoutSeconds)
{

View File

@ -44,8 +44,6 @@ public:
uint64_t sendQuery(td::td_api::object_ptr<td::td_api::Function> f, ResponseCb handler);
uint64_t sendQuery(td::td_api::object_ptr<td::td_api::Function> f, ResponseCb2 handler);
uint64_t sendQueryWithTimeout(td::td_api::object_ptr<td::td_api::Function> f,
ResponseCb handler, unsigned timeoutSeconds);
uint64_t sendQueryWithTimeout(td::td_api::object_ptr<td::td_api::Function> f,
ResponseCb2 handler, unsigned timeoutSeconds);
void setQueryTimer(uint64_t queryId, ResponseCb handler, unsigned timeoutSeconds,