We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bab972 commit a5299f4Copy full SHA for a5299f4
src/UniversalTelegramBot.cpp
@@ -75,7 +75,7 @@ String UniversalTelegramBot::sendGetToTelegram(String command) {
75
now = millis();
76
bool finishedHeaders = false;
77
bool currentLineIsBlank = true;
78
- while (millis() - now < waitForResponse) {
+ while (millis() - now < longPoll * 1000 + waitForResponse) {
79
while (client->available()) {
80
char c = client->read();
81
responseReceived = true;
0 commit comments