mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-18 21:15:57 +00:00
Monotone-Parent: e706312f04004672d2c8a80c8ec43cf3313c6244
Monotone-Revision: afc6dcc4b6248dc2121bb03e339daca4db855f85 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-02-06T16:20:59 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
2008-02-06 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/SOGo/SOGoGCSFolder.m ([SOGoGCSFolder -ocsFolder]):
|
||||
send an email only when not in a dav request.
|
||||
([SOGoGCSFolder -delete]): same as above.
|
||||
|
||||
* SoObjects/Mailer/SOGoMailAccount.m ([SOGoMailAccount
|
||||
-supportsQuotas]): test quota support by querying the server
|
||||
capability.
|
||||
|
||||
@@ -273,7 +273,10 @@ static BOOL sendFolderAdvisories = NO;
|
||||
withName: displayName
|
||||
atPath: ocsPath];
|
||||
|
||||
if (!result && sendFolderAdvisories) [self sendFolderAdvisoryTemplate: @"Addition"];
|
||||
if (!result
|
||||
&& [[context request] handledByDefaultHandler]
|
||||
&& sendFolderAdvisories)
|
||||
[self sendFolderAdvisoryTemplate: @"Addition"];
|
||||
|
||||
return (result == nil);
|
||||
}
|
||||
@@ -291,7 +294,9 @@ static BOOL sendFolderAdvisories = NO;
|
||||
else
|
||||
error = [[self folderManager] deleteFolderAtPath: ocsPath];
|
||||
|
||||
if (!error && sendFolderAdvisories) [self sendFolderAdvisoryTemplate: @"Removal"];
|
||||
if (!error && sendFolderAdvisories
|
||||
&& [[context request] handledByDefaultHandler])
|
||||
[self sendFolderAdvisoryTemplate: @"Removal"];
|
||||
|
||||
return error;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user