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.
Right now all the messages are getting stored in the same SQLite database which is
message_store.sqliteand 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.