Fix regression when attaching files to a reply
parent
e7ddfb0546
commit
5bb64916c6
1
NEWS
1
NEWS
|
@ -11,6 +11,7 @@ Bug fixes
|
||||||
- fixed Chinese charset handling (#2809)
|
- fixed Chinese charset handling (#2809)
|
||||||
- fixed folder name (calendars and contacts) of new subscriptions (#2801)
|
- fixed folder name (calendars and contacts) of new subscriptions (#2801)
|
||||||
- fixed the reply/forward operation over ActiveSync (#2805)
|
- fixed the reply/forward operation over ActiveSync (#2805)
|
||||||
|
- fixed regression when attaching files to a reply
|
||||||
|
|
||||||
2.2.5 (2014-06-05)
|
2.2.5 (2014-06-05)
|
||||||
------------------
|
------------------
|
||||||
|
|
|
@ -644,8 +644,9 @@ static NSArray *infoKeys = nil;
|
||||||
if (!attachmentAttrs || ![co imap4URL])
|
if (!attachmentAttrs || ![co imap4URL])
|
||||||
{
|
{
|
||||||
[co fetchInfo];
|
[co fetchInfo];
|
||||||
if (![co inReplyTo] && [co IMAP4ID] > -1)
|
if ((![co inReplyTo] || currentAttachment) && [co IMAP4ID] > -1)
|
||||||
{
|
{
|
||||||
|
// When currentAttachment is defined, it means we just attached a new file to the mail
|
||||||
mail = [[[SOGoMailObject alloc] initWithImap4URL: [co imap4URL] inContainer: [co container]] autorelease];
|
mail = [[[SOGoMailObject alloc] initWithImap4URL: [co imap4URL] inContainer: [co container]] autorelease];
|
||||||
a = [mail fetchFileAttachmentKeys];
|
a = [mail fetchFileAttachmentKeys];
|
||||||
ASSIGN (attachmentAttrs, a);
|
ASSIGN (attachmentAttrs, a);
|
||||||
|
|
Loading…
Reference in New Issue