Monotone-Parent: 13e8cf856590881f3dfc9b96f9f1164ba76f5969
Monotone-Revision: 07f87d18088071e4dcd72653efb4c3885f66a50f Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-01-24T15:03:12 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
4884853a63
commit
847671bb43
|
@ -1,3 +1,10 @@
|
|||
2008-01-24 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* UI/MailPartViewers/UIxMailPartViewer.m ([UIxMailPartViewer
|
||||
-pathToAttachment]): in the case where the client object is not a
|
||||
mail body part (when the message IS the attachment), we append 0
|
||||
to generate the url, instead of the filename.
|
||||
|
||||
2008-01-22 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/Appointments/SOGoAppointmentFolder.m
|
||||
|
|
|
@ -303,7 +303,7 @@
|
|||
if (![url hasSuffix: @"/"])
|
||||
url = [url stringByAppendingString: @"/"];
|
||||
|
||||
/* if we get a message with an image/* or application/*
|
||||
/* if we get a message with an image-* or application-*
|
||||
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
|
||||
|
@ -343,7 +343,7 @@
|
|||
- (NSString *) pathToAttachment
|
||||
{
|
||||
NSMutableString *url;
|
||||
NSString *s;
|
||||
NSString *s, *attachment;
|
||||
SOGoMailBodyPart *bodyPart;
|
||||
|
||||
bodyPart = [self clientPart];
|
||||
|
@ -353,7 +353,11 @@
|
|||
[url appendString: @"/"];
|
||||
|
||||
// s = [[self partPath] componentsJoinedByString: @"/"];
|
||||
[url appendString: [self _filenameForAttachment: bodyPart]];
|
||||
if ([bodyPart isKindOfClass: [SOGoMailBodyPart class]])
|
||||
attachment = [self _filenameForAttachment: bodyPart];
|
||||
else
|
||||
attachment = @"0";
|
||||
[url appendString: attachment];
|
||||
|
||||
return url;
|
||||
}
|
||||
|
|
|
@ -206,5 +206,5 @@
|
|||
<br />
|
||||
<br />
|
||||
-->
|
||||
<pre style="display: none;"><var:string value="flatContentAsString" /></pre>
|
||||
<!-- <pre style="display: none;"><var:string value="flatContentAsString" /></pre> -->
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue