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). |
||
|---|---|---|
| .. | ||
| encryption | ||
| matrix_api_lite | ||
| msc_extensions | ||
| src | ||
| encryption.dart | ||
| fake_matrix_api.dart | ||
| matrix.dart | ||
| matrix_api_lite.dart | ||