diff options
author | Erik Johnston <erik@matrix.org> | 2022-02-11 13:38:05 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-11 13:38:05 +0000 |
commit | 79fb64e417686c91eeb64016e91dffeac9115a80 (patch) | |
tree | 47da409576556e9d8683ad55a8bd962da7e069ab /LICENSE | |
parent | fix import cycle (#11965) (diff) | |
download | synapse-79fb64e417686c91eeb64016e91dffeac9115a80.tar.xz |
Fix to-device being dropped in limited sync in SQLite. (#11966)
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.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions