mirror of
https://github.com/AsamK/signal-cli.git
synced 2026-11-29 08:55:48 +00:00
Use File() correctly
This commit is contained in:
1 parent
3d56067272
commit
fb36613402
1 file changed
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user