Monotone-Parent: a8d781a46deaa766f17c0fabd10cb677779feb60

Monotone-Revision: cbd05d470bee2e063abb94750478a7df2245b44b

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-05-21T16:46:12
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2008-05-21 16:46:12 +00:00
parent 726198073a
commit 31722d6d85
+3 -1
View File
@@ -152,7 +152,7 @@
- (WOResponse *) deleteFolderAction
{
SOGoMailFolder *co;
SOGoMailFolder *co, *inbox;
WOResponse *response;
NGImap4Connection *connection;
NSException *error;
@@ -164,6 +164,8 @@
destURL = [self _trashedURLOfFolder: srcURL
withCO: co];
connection = [co imap4Connection];
inbox = [[co mailAccountFolder] inboxFolderInContext: context];
[[connection client] select: [inbox absoluteImap4Name]];
error = [connection moveMailboxAtURL: srcURL
toURL: destURL];
if (error)