Monotone-Parent: cfce0b87149956dcb7797ebaeafd5c803f73f50b

Monotone-Revision: 5e1d3b05e4ac96fabc257b4fb753b7c7439c8337

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-03-09T22:18:45
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2012-03-09 22:18:45 +00:00
parent f9e6fc7f22
commit dda2e52551
2 changed files with 8 additions and 0 deletions

View File

@@ -1,5 +1,9 @@
2012-03-09 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Mailer/SOGoMailFolder.m (-renameTo:): reset the
imap4URL to nil and change the nameInContainer after a successful
operation.
* OpenChange/MAPIStoreFolder.m
(-getTable:andRowCount:tableType:andHandleId:): if the current
user is not the owner of the folder, the permissions table cannot

View File

@@ -298,6 +298,10 @@ static NSString *defaultUserID = @"anyone";
toURL: destURL];
if (!error)
{
ASSIGN (imap4URL, nil);
ASSIGN (nameInContainer,
([NSString stringWithFormat: @"folder%@", [newName asCSSIdentifier]]));
// We unsubscribe to the old one, and subscribe back to the new one
if ([[[context activeUser] userDefaults]
mailShowSubscribedFoldersOnly])