From ebbc840ecdb187b89460a61a0fecdcb5a2fb9c60 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Wed, 21 Nov 2007 15:27:52 +0000 Subject: [PATCH] Monotone-Parent: 748fb7eea98a07ee1396f6902a6b0fb3e52f280e Monotone-Revision: 9b5ebc598474f9893ae9cd49b70769d7dbe2996f Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-11-21T15:27:52 Monotone-Branch: ca.inverse.sogo --- SoObjects/Mailer/SOGoMailObject.m | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/SoObjects/Mailer/SOGoMailObject.m b/SoObjects/Mailer/SOGoMailObject.m index 9abd01951..086bdfb44 100644 --- a/SoObjects/Mailer/SOGoMailObject.m +++ b/SoObjects/Mailer/SOGoMailObject.m @@ -757,7 +757,10 @@ static BOOL debugSoParts = NO; /* We don't have parts here but we're trying to download the message's content that could be an image/jpeg, as an example */ if ([parts count] == 0 && ![_key intValue]) - partDesc = [self bodyStructure]; + { + partDesc = [self bodyStructure]; + _key = @"1"; + } else { part = [_key intValue] - 1;