You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When deleting a (significant) number of messages while using the local index, they disappear momentarily and then reappear until the messages have been deleted on the server (?).
This appears to be a timing issue: When running user changes (eg deleting messages), we ask the index worker to delete the data locally (from the browser copy of the index), which persists the changes to the indexdb, notifies the main thread to reload its copy of the index, which then redraws the list (so they disappear), while asking the api to delete the actual messages, which will eventually trigger an index update with the message removal from the backend.
This is while regular index updates are happening, so things may interleave rather than happen sequentially, so some of the messages (not always all of them!) reppear briefly, then disappear again.
Describe the bug
When deleting a (significant) number of messages while using the local index, they disappear momentarily and then reappear until the messages have been deleted on the server (?).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The messages should immediately disappear for good.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: