cabal-club / cabal-client

interface for writing peer-to-peer chat clients
GNU General Public License v3.0
95 stars 14 forks source link

offline messages? #96

Closed benzmuircroft closed 7 months ago

benzmuircroft commented 7 months ago

If a user goes offline then receives messages do they see them when back online and can they then deal with them and delete them after?

hackergrrl commented 7 months ago

Locally-authored messages are written to local storage, where they remain until the client connects to other peers and they exchange locally stored messages. So, yes, they will as long as the person who sent the message, or someone they synced that message to, is able to connect with your client and send it over.

and delete them after?

Cabal doesn't support deletions, so even after delivering a message peers will retain those messages locally.