mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-18 21:23:20 +00:00
see changelog
Monotone-Parent: 9abbb51cbabcad645190865841814453369fa85f Monotone-Revision: 92ce389a1151c9f1a5f222e3ad03a757f3be2bdd Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2007-11-19T00:47:07 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -312,9 +312,16 @@
|
||||
if (![url hasSuffix: @"/"])
|
||||
url = [url stringByAppendingString: @"/"];
|
||||
|
||||
/* mail relative path to body-part */
|
||||
|
||||
/* eg this was nil for a draft containing an HTML message */
|
||||
/* if we get a message with an image/* or applicatio/*
|
||||
Content-Type, we must generate a 'fake' part since our
|
||||
decoded mail won't have any. Also see SOGoMailBodyPart: -fetchBLOB
|
||||
and SOGoMailObject: -lookupImap4BodyPartKey: inContext for
|
||||
other workarounds */
|
||||
if (!partPath || [partPath count] == 0)
|
||||
partPath = [NSArray arrayWithObject: @"0"];
|
||||
|
||||
/* mail relative path to body-part
|
||||
eg this was nil for a draft containing an HTML message */
|
||||
if ([(n = [partPath componentsJoinedByString:@"/"]) isNotNull])
|
||||
url = [url stringByAppendingString:n];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user