Skip to content

Commit f449a4c

Browse files
committed
Update FastBot.h
1 parent 1b3e043 commit f449a4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FastBot.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -817,7 +817,7 @@ class FastBot {
817817

818818
if (!first_name.length()) {
819819
int typePos = str.indexOf("\"type\"", textPos);
820-
find(str, first_name, textPos, F("\"title\":\""), '\"', IDpos);
820+
find(str, first_name, textPos, F("\"title\":\""), '\"', typePos);
821821
}
822822

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

0 commit comments

Comments
 (0)