Converse - LocalStorage overflow
Can't find the related issue, opening this new one to centralize this kind of issue.
Currently we are using Converse on the localStorage, which is limited in size by the browser leading the user to believe that they lost their history or to see some blank avatar/message on some random places.
We need to solve that, two solutions are identified:
IndexedDB
From Converse 6, things can be saved on indexeddb instead of the localstorage. It's currently on air with @beta of the solid-xmpp-chat, and on test3's instance right now.
One identified issue with that: It break the RAI implementation on first load ; my own messages always put the channel on bold, I have to refresh the page 1x time after each login to have it work properly.
Cleaning routine
Converse know when the local storage quota has been reached, we may be able to implement some kind of cleaning routine based on this exception.
Uncaught (in promise) The quota has been exceeded. converse.min.js:100:32793
I believe that the IndexedDB solution is the most durable.
@XaviFP @MattJ Taking your advice on those subjects. We need to implement a solution as soon as possible, with the volume of community's chat data user are usually overflowed in less that 15 minutes.