mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-22 03:45:25 +00:00
The IMAP ID must be an object... not just an int
Monotone-Parent: 7552a94eb1b6254545099a5beeef2e57fd0e0da3 Monotone-Revision: b9e39b84892a7087aa8b4a045496b566eca839ec Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2010-08-27T00:51:46 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#import <Foundation/NSCharacterSet.h>
|
||||
#import <Foundation/NSFileManager.h>
|
||||
#import <Foundation/NSKeyValueCoding.h>
|
||||
#import <Foundation/NSNumber.h>
|
||||
#import <Foundation/NSString.h>
|
||||
|
||||
#import <NGHttp/NGHttpRequest.h>
|
||||
@@ -614,7 +615,7 @@ static NSArray *infoKeys = nil;
|
||||
jsonResponse = [NSDictionary dictionaryWithObjectsAndKeys:
|
||||
@"success", @"status",
|
||||
[co sourceFolder], @"sourceFolder",
|
||||
[co IMAP4ID], @"messageID",
|
||||
[NSNumber numberWithInt: [co IMAP4ID]], @"messageID",
|
||||
nil];
|
||||
|
||||
return [self responseWithStatus: 200
|
||||
|
||||
Reference in New Issue
Block a user