tmessage
tmessage copied to clipboard
fix: Use different database for each user
Right now all the messages are getting stored in the same SQLite database which is message_store.sqlite and this approach is wrong which will lead to the mixing of user messages.
Solution
Make a new directory in which we will store different databases for each user. The SQLite database filename will be based upon the username of the user. This way we can separate users who are using the same instance of tmessage locally.
Sure, go ahead @hmuhammadazeem
@hmuhammadazeem You can make a pull request for the changes that you have done. We can look into the matter then.
@hmuhammadazeem What's the progress on this issue?
I too would like to work on this issue.
So if @hmuhammadazeem is not working on this issue @HashirGJ8842 you can start.