Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

History storage for multiple accounts #172

Open
exquo opened this issue Feb 7, 2022 · 2 comments
Open

History storage for multiple accounts #172

exquo opened this issue Feb 7, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@exquo
Copy link
Collaborator

exquo commented Feb 7, 2022

Scli can be run with different --usernames (accounts / phone numbers), but maintains a single history file in ~/.local/share/scli/history. This jumbles histories from different accounts together.

One solution is to put the account-specific data (history, attachments) in sub-directories: ~/.local/share/scli/+123456789, etc.

@exquo
Copy link
Collaborator Author

exquo commented Feb 7, 2022

Additional enhancement: implement per-account config files.
This should be in addition to --config-file, so that the right file is automatically checked based on the account's phone number.

@exquo exquo added the bug Something isn't working label Feb 20, 2022
@exquo
Copy link
Collaborator Author

exquo commented Jun 3, 2022

Related: signal-cli saves attachments for all accounts in the same dir, AsamK/signal-cli#298 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant