Use File() correctly
This commit is contained in:
		
							parent
							
								
									3d56067272
								
							
						
					
					
						commit
						fb36613402
					
				| @ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 AsamK
						AsamK