summary refs log tree commit diff
path: root/changelog.d/10033.bugfix (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 1.35.0rc1 v1.35.0rc1Erik Johnston2021-05-251-1/+0
|
* Add a test for update_presence (#10033)Andrew Morgan2021-05-211-0/+1
https://github.com/matrix-org/synapse/issues/9962 uncovered that we accidentally removed all but one of the presence updates that we store in the database when persisting multiple updates. This could cause users' presence state to be stale. The bug was fixed in #10014, and this PR just adds a test that failed on the old code, and was used to initially verify the bug. The test attempts to insert some presence into the database in a batch using `PresenceStore.update_presence`, and then simply pulls it out again.