signalize attachment filename

Closes #4541
This commit is contained in:
heyimgay 2015-11-15 10:20:08 +01:00 committed by Moxie Marlinspike
parent 1d8aef1669
commit ce1c6e2372

View File

@ -118,7 +118,7 @@ public class SaveAttachmentTask extends ProgressDialogAsyncTask<SaveAttachmentTa
MimeTypeMap mimeTypeMap = MimeTypeMap.getSingleton();
String extension = mimeTypeMap.getExtensionFromMimeType(contentType);
SimpleDateFormat dateFormatter = new SimpleDateFormat("yyyy-MM-dd-HHmmss");
String base = "textsecure-" + dateFormatter.format(timestamp);
String base = "signal-" + dateFormatter.format(timestamp);
if (extension == null)
extension = "attach";