mirror of
https://github.com/AsamK/signal-cli
synced 2025-09-04 05:00:39 +00:00
Save attachments in account-specific folders
This commit is contained in:
parent
5a2e37a6e2
commit
3bd50dbaa2
1 changed files with 3 additions and 1 deletions
|
@ -172,7 +172,9 @@ public class Manager implements Closeable {
|
||||||
executor,
|
executor,
|
||||||
sessionLock);
|
sessionLock);
|
||||||
final var avatarStore = new AvatarStore(pathConfig.getAvatarsPath());
|
final var avatarStore = new AvatarStore(pathConfig.getAvatarsPath());
|
||||||
final var attachmentStore = new AttachmentStore(pathConfig.getAttachmentsPath());
|
final var attachmentStore = new AttachmentStore(new File(pathConfig.getAttachmentsPath(),
|
||||||
|
account.getUsername()));
|
||||||
|
|
||||||
final var stickerPackStore = new StickerPackStore(pathConfig.getStickerPacksPath());
|
final var stickerPackStore = new StickerPackStore(pathConfig.getStickerPacksPath());
|
||||||
|
|
||||||
this.attachmentHelper = new AttachmentHelper(dependencies, attachmentStore);
|
this.attachmentHelper = new AttachmentHelper(dependencies, attachmentStore);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue