Skip to content

Chats are still presented after automated deletion of rooms (exists in different clients) #4915

@serhii8nahornyi

Description

@serhii8nahornyi

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

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions