blueprint-freespeech / ricochet-refresh

Anonymous peer-to-peer instant messaging
https://www.ricochetrefresh.net
Other
162 stars 27 forks source link

When "Single window for conversations" is disabled, chat history breaks #51

Open m-simonelli opened 3 years ago

m-simonelli commented 3 years ago

When the “Single window for conversations” setting is disabled, if the floating window is closed (but Ricochet remains active), reopening the chat shows all past messages (just like clicking off a chat when the setting is enabled). When a message is received, and the window is closed, chat history is deleted every time the window is closed after this.

To reproduce: 1) Create a connection between 2 instances of ricochet refresh (from here, called Alice and Bob) 2) Send a message from Alice to Bob 3) On Bob’s instance, disable the “single window for conversations” setting. 4) On Bob’s instance, close the (now separate/floating) Alice window, if it is open, and reopen it 1) Observe how the prior message is retained 5) Now send a message from Alice to Bob 6) Close the (now separate) chat window on Bob’s instance. 7) Reopen the window on Bob’s instance 1) Observe how the previous messages have vanished 8) Repeat steps 6→8, there is no way to preserve chat history after this. 9) Re-enabling the “single window for conversations” setting allows for chat preservation once again, but if at any point the setting is disabled and the floating chat window closed, the chat history is lost.