-
-
Notifications
You must be signed in to change notification settings - Fork 633
Open
Labels
O-UncommonMost users are unlikely to come across this or unexpected workflowMost users are unlikely to come across this or unexpected workflowS-MinorImpairs non-critical functionality or suitable workarounds existImpairs non-critical functionality or suitable workarounds existT-Defect
Description
Steps:
Set up automated deletion of chats (this api is used https://element-hq.github.io/synapse/v1.105/admin_api/rooms.html#version-2-new-version)
Wait until chats get deleted
Current result
Some of the deleted chats are still presented
Expected result
All deleted chats should not exist anymore
Items from the investigation
- It looks like there was no issues on matrix-js-sdk 34.5. The issue appears on on versions from 35.1.0 includ. 37.10
- Deleted rooms are still located in the indexeddb
- Element does not preserve deleted rooms in indexedDB as joined room, but somehow it still suggests to you if you want to join the deleted rooms. After logout this room is gone.
- We also figured out, that joined_rooms request does not play a role in syncing of state of the room. So we are using sync requests as well as Element to detect that there is no room already
- Adding workerFactory and indexeddb.worker didn't help
Metadata
Metadata
Assignees
Labels
O-UncommonMost users are unlikely to come across this or unexpected workflowMost users are unlikely to come across this or unexpected workflowS-MinorImpairs non-critical functionality or suitable workarounds existImpairs non-critical functionality or suitable workarounds existT-Defect