Skip to content

Commit

Permalink
Update FastBot.h
Browse files Browse the repository at this point in the history
  • Loading branch information
GyverLibs committed May 17, 2022
1 parent 1b3e043 commit f449a4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FastBot.h
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,7 @@ class FastBot {

if (!first_name.length()) {
int typePos = str.indexOf("\"type\"", textPos);
find(str, first_name, textPos, F("\"title\":\""), '\"', IDpos);
find(str, first_name, textPos, F("\"title\":\""), '\"', typePos);
}

if (chatIDs.length() > 0 && chatIDs.indexOf(chatID) < 0) continue; // проверка на ID чата
Expand Down

0 comments on commit f449a4c

Please sign in to comment.