Fix NPE
This commit is contained in:
parent
a10d73a535
commit
75df4b0b46
@ -69,7 +69,7 @@ public final class InternalClient implements ClientEventsHandler, TelegramClient
|
||||
handleException(updatesHandler.getExceptionHandler(), cause);
|
||||
}
|
||||
} else {
|
||||
for (int i = 0; i < eventIds.length; i++) {
|
||||
for (int i = arrayOffset; i < (arrayOffset + arrayLength); i++) {
|
||||
handleEvent(eventIds[i], events[i]);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user