(feat) show toast when compacting folder

This commit is contained in:
Ludovic Marcotte
2015-12-10 13:54:24 -05:00
parent 28399b698a
commit 96e93c0eeb
2 changed files with 9 additions and 7 deletions
+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
{