mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-02 02:02:32 +00:00
Monotone-Parent: 78f9c189c35d1687c9f08b2312ba05b85b817cb7
Monotone-Revision: 1ba81ff51e5b101bad7b8771622a147e64290c31 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-10-17T15:45:23 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -20,6 +20,8 @@
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#import <Foundation/NSURL.h>
|
||||
|
||||
#import <NGObjWeb/WOResponse.h>
|
||||
#import <NGExtensions/NGHashMap.h>
|
||||
#import <NGMail/NGMimeMessage.h>
|
||||
@@ -31,6 +33,7 @@
|
||||
#import <SoObjects/SOGo/SOGoObject.h>
|
||||
#import <SoObjects/SOGo/LDAPUserManager.h>
|
||||
#import <SoObjects/SOGo/NSCalendarDate+SOGo.h>
|
||||
#import <SoObjects/SOGo/NSString+Utilities.h>
|
||||
|
||||
#import "SOGoFolderAdvisory.h"
|
||||
|
||||
@@ -83,10 +86,12 @@
|
||||
|
||||
- (NSString *) httpFolderURL
|
||||
{
|
||||
NSString *absoluteString;
|
||||
NSMutableString *url;
|
||||
|
||||
#warning the url returned by SOGoMail may be empty, we need to handle that
|
||||
url = [NSMutableString stringWithString: [[folderObject soURL] absoluteString]];
|
||||
absoluteString = [[folderObject soURL] absoluteString];
|
||||
url = [NSMutableString stringWithString: absoluteString];
|
||||
|
||||
if (![url hasSuffix: @"/"])
|
||||
[url appendString: @"/"];
|
||||
@@ -102,7 +107,7 @@
|
||||
subject = [[self generateResponse] contentAsString];
|
||||
isSubject = NO;
|
||||
|
||||
return [subject stringByTrimmingSpaces];
|
||||
return [[subject stringByTrimmingSpaces] asQPSubjectString: @"utf-8"];
|
||||
}
|
||||
|
||||
- (NSString *) body
|
||||
|
||||
Reference in New Issue
Block a user