(feat) show toast when compacting folder

This commit is contained in:
Ludovic Marcotte committed 2015-12-10 13:54:24 -05:00
1 parent 28399b698a
commit 96e93c0eeb
2 files changed
+9 -7

No files matched your search

+2 -2
View File
@@ -627,8 +627,8 @@
error = [co expunge];
if (error)
{
response = [self responseWithStatus: 500];
[response appendContentString: @"Unable to expunge folder."];
response = [self responseWithStatus: 500
andJSONRepresentation: [NSDictionary dictionaryWithObject: @"Unable to expunge folder." forKey: @"message"]];
}
else
{