scli icon indicating copy to clipboard operation
scli copied to clipboard

History storage for multiple accounts

Open exquo opened this issue 3 years ago • 2 comments

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 avatar Feb 07 '22 21:02 exquo

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 avatar Feb 07 '22 21:02 exquo

Related: signal-cli saves attachments for all accounts in the same dir, https://github.com/AsamK/signal-cli/issues/298#issuecomment-912973504

exquo avatar Jun 03 '22 10:06 exquo