mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-02 23:55:33 +00:00
See Changelog.
Monotone-Parent: 1e456d9a08ec90bd4e7fad4909eecfaa354aed5a Monotone-Revision: c2868ffdea9d34b226e1f85e0a8de47117a91bb5 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2011-07-08T17:38:27 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
1 parent
3f6bca5d1e
commit
3d3a5e37ba
12 files changed
+77
-113
No files matched your search
@@ -187,11 +187,7 @@
|
||||
rawFolders = [[co allFolderPaths] objectEnumerator];
|
||||
folders = [self _jsonFolders: rawFolders];
|
||||
|
||||
// The parameters order is important here, as if the server doesn't support
|
||||
// quota, inboxQuota will be nil and it'll terminate the list of objects/keys.
|
||||
data = [NSDictionary dictionaryWithObjectsAndKeys: folders, @"mailboxes",
|
||||
[co getInboxQuota], @"quotas",
|
||||
nil];
|
||||
data = [NSDictionary dictionaryWithObjectsAndKeys: folders, @"mailboxes", nil];
|
||||
response = [self responseWithStatus: 200
|
||||
andString: [data jsonRepresentation]];
|
||||
[response setHeader: @"application/json"
|
||||
|
||||
Reference in new issue
Block a user