Skip to content
Snippets Groups Projects
Unverified Commit 6a8643ff authored by Marek Matys's avatar Marek Matys Committed by GitHub
Browse files

Fixed removal of new presence stream states (#10014)

Fixes: https://github.com/matrix-org/synapse/issues/9962



This is a fix for above problem.

I fixed it by swaping the order of insertion of new records and deletion of old ones. This ensures that we don't delete fresh database records as we do deletes before inserts.

Signed-off-by: default avatarMarek Matys <themarcq@gmail.com>
parent 7958eadc
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment