Don't try to add attachments during reply operations

This commit is contained in:
Ludovic Marcotte
2014-05-30 13:53:20 -04:00
parent f0dfe37a55
commit 0c2e2f28f7
5 changed files with 17 additions and 9 deletions
+2 -2
View File
@@ -636,15 +636,15 @@ static NSArray *infoKeys = nil;
- (NSArray *) attachmentAttrs
{
NSArray *a;
SOGoDraftObject *co;
SOGoMailObject *mail;
NSArray *a;
co = [self clientObject];
if (!attachmentAttrs || ![co imap4URL])
{
[co fetchInfo];
if ([co IMAP4ID] > -1)
if (![co inReplyTo] && [co IMAP4ID] > -1)
{
mail = [[[SOGoMailObject alloc] initWithImap4URL: [co imap4URL] inContainer: [co container]] autorelease];
a = [mail fetchFileAttachmentKeys];