mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-17 21:47:28 +00:00
parent
1d8aef1669
commit
ce1c6e2372
@ -118,7 +118,7 @@ public class SaveAttachmentTask extends ProgressDialogAsyncTask<SaveAttachmentTa
|
|||||||
MimeTypeMap mimeTypeMap = MimeTypeMap.getSingleton();
|
MimeTypeMap mimeTypeMap = MimeTypeMap.getSingleton();
|
||||||
String extension = mimeTypeMap.getExtensionFromMimeType(contentType);
|
String extension = mimeTypeMap.getExtensionFromMimeType(contentType);
|
||||||
SimpleDateFormat dateFormatter = new SimpleDateFormat("yyyy-MM-dd-HHmmss");
|
SimpleDateFormat dateFormatter = new SimpleDateFormat("yyyy-MM-dd-HHmmss");
|
||||||
String base = "textsecure-" + dateFormatter.format(timestamp);
|
String base = "signal-" + dateFormatter.format(timestamp);
|
||||||
|
|
||||||
if (extension == null)
|
if (extension == null)
|
||||||
extension = "attach";
|
extension = "attach";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user