mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-04 08:19:21 +00:00
JSON interface to folder subscriptions
This commit is contained in:
1 parent
b52289904f
commit
4c21a050d9
3 files changed
+14
-16
No files matched your search
@@ -442,10 +442,8 @@
|
||||
[response setStatus: 200];
|
||||
[response setHeader: @"text/plain; charset=utf-8"
|
||||
forKey: @"Content-Type"];
|
||||
foldersEnum = [folders objectEnumerator];
|
||||
while ((currentFolder = [foldersEnum nextObject]))
|
||||
[response appendContentString:
|
||||
[currentFolder keysWithFormat: @";%{displayName}:%{name}:%{type}:%{formattedName}"]];
|
||||
|
||||
[response appendContentString: [folders JSONRepresentation]];
|
||||
|
||||
return response;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user