signal-cli icon indicating copy to clipboard operation
signal-cli copied to clipboard

Save attachments in account-specific folders

Open hiqua opened this issue 4 years ago • 3 comments

Related (but different): #298

I'd also like to make a PR to save in different folders for every conversation, but that looks slightly more involved so I'll open a new PR if I get around it, if that's fine for you.

hiqua avatar Sep 04 '21 22:09 hiqua

This seems to me like a good idea, but I'm wondering if the directory structure should be:

.local/share/signal-cli/data/PHONENUMBER.d/attachments

johnfreed avatar Sep 23 '21 05:09 johnfreed

I'm open to any other naming scheme that will please @AsamK.

hiqua avatar Sep 23 '21 06:09 hiqua

One problem I see is backward compatibility. A message reading program (like my signalmail) should delete the attachment when the message is handled, so any such program will break.

johnfreed avatar Sep 23 '21 07:09 johnfreed