fix(mail): use unique names for attachments

Fixes #5086
This commit is contained in:
Francis Lachapelle committed 2020-07-23 12:56:35 -04:00
1 parent d549c296ae
commit 9c391b8d8d
5 files changed
+44 -28

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
/*
Copyright (C) 2007-2014 Inverse inc.
Copyright (C) 2007-2020 Inverse inc.
Copyright (C) 2004-2005 SKYRIX Software AG
This file is part of SOGo.
@@ -112,7 +112,7 @@
- (NGMimeBodyPart *) bodyPartForAttachmentWithName: (NSString *) _name;
- (NSString *) pathToAttachmentWithName: (NSString *) _name;
- (NSException *) saveAttachment: (NSData *) _attach
withMetadata: (NSDictionary *) metadata;
withMetadata: (NSMutableDictionary *) metadata;
- (NSException *) deleteAttachmentWithName: (NSString *) _name;
/* NGMime representations */