emberry-org / emberry

🍊 A new way to chat with Friends
GNU General Public License v3.0
13 stars 1 forks source link

re-establish room message listeners after refresh #43

Open mxcop opened 1 year ago

mxcop commented 1 year ago

Currently the room message listeners are established once when the new-room event is triggered. This means that after a refresh they will no longer exist, and won't be re-establish.

tauri.ts - line 72

On start simply loop over rooms in the storage and re-establish the message listeners.