Don't try to add attachments during reply operations

This commit is contained in:
Ludovic Marcotte committed 2014-05-30 13:53:20 -04:00
1 parent f0dfe37a55
commit 0c2e2f28f7
5 files changed
+17 -9

No files matched your search

+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];