canRequestHistory could become false, even though you didn't load all events from the database yet. So you had to either rely on fetching until the requestHistory method throws or rely on other workarounds.
This makes requestHistory not throw, when the prev_batch is null, but also makes canRequestHistory return sane values (but might require an extra request, that does nothing).
canRequestHistory could become false, even though you didn't load all events from the database yet. So you had to either rely on fetching until the requestHistory method throws or rely on other workarounds.
This makes requestHistory not throw, when the prev_batch is null, but also makes canRequestHistory return sane values (but might require an extra request, that does nothing).