Persist chat data without the use of database

Viewed 27

as the title says I'm looking for a solution to the following problem.

I have 2 types os chat, a global one which is saved into the database, and then I have a private/group chat that cannot be saved into the database because of client requirements.

At the momento all messages of private/group chat are saved in the user local storage for persistence but the problem with this is that if the user is offline he will not receive any message and won't save the data to the local storage.

Is there anyway I can make the user get all messages that were sent while he was offline?

Much appreciated

0 Answers
Related