mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-02-07 06:25:23 -05:00
![Erik Johnston](/assets/img/avatar_default.png)
If ther are more than 100 to-device messages pending for a device `/sync` will only return the first 100, however the next batch token was incorrectly calculated and so all other pending messages would be dropped. This is due to `txn.rowcount` only returning the number of rows that *changed*, rather than the number *selected* in SQLite.