diff --git a/src/main/java/org/asamk/textsecure/Manager.java b/src/main/java/org/asamk/textsecure/Manager.java index f0714ce1..dfae49de 100644 --- a/src/main/java/org/asamk/textsecure/Manager.java +++ b/src/main/java/org/asamk/textsecure/Manager.java @@ -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 {