-
Rhylx
Hi everyone 🙂. I wanned to know what is the recommended or best way for a client to handle messages internally ?
-
Rhylx
writing the incoming data of the server to a file isn't probably very secure
-
Rhylx
but on the other hand I don't really see how to be able to recover a conversation once the user has closed the client.
-
Rhylx
can someone please help me ? 🙂
-
Zash
Your options are: Store messages in a file, or request messages from the server using XEP-0313.
-
Zash
Majority of clients do the former afaik
-
Rhylx
ok, and when you say store in a file, it is just a simple file containing the conversation ?
-
Zash
Sure. Or e.g. SQLite is a popular method.
-
Rhylx
okay 😃 thanks a lot for your answers