tmessage icon indicating copy to clipboard operation
tmessage copied to clipboard

fix: Use different database for each user

Open Haider8 opened this issue 6 years ago • 5 comments

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.

Haider8 avatar Oct 14 '19 17:10 Haider8

Sure, go ahead @hmuhammadazeem

Haider8 avatar Oct 14 '19 20:10 Haider8

@hmuhammadazeem You can make a pull request for the changes that you have done. We can look into the matter then.

Haider8 avatar Oct 21 '19 05:10 Haider8

@hmuhammadazeem What's the progress on this issue?

Haider8 avatar Oct 23 '19 09:10 Haider8

I too would like to work on this issue.

HashirGJ8842 avatar Oct 27 '19 10:10 HashirGJ8842

So if @hmuhammadazeem is not working on this issue @HashirGJ8842 you can start.

pnijhara avatar Nov 01 '19 04:11 pnijhara