mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
Use File() correctly
This commit is contained in:
parent
3d56067272
commit
fb36613402
1 changed files with 1 additions and 1 deletions
|
@ -535,7 +535,7 @@ class Manager implements TextSecure {
|
|||
}
|
||||
|
||||
public File getAttachmentFile(long attachmentId) {
|
||||
return new File(attachmentsPath + "/" + attachmentId);
|
||||
return new File(attachmentsPath, attachmentId + "");
|
||||
}
|
||||
|
||||
private File retrieveAttachment(TextSecureAttachmentPointer pointer) throws IOException, InvalidMessageException {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue