(fix) when deleting an event using EAS, properly invoke the auto-scheduling code

pull/186/head
Ludovic Marcotte 2016-01-08 13:12:00 -05:00
parent 0b5e38e88c
commit 321193472d
2 changed files with 3 additions and 0 deletions

View File

@ -573,6 +573,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// FIXME: handle errors here
if (deletesAsMoves && theFolderType == ActiveSyncMailFolder)
[(SOGoMailFolder *)[sogoObject container] deleteUIDs: [NSArray arrayWithObjects: serverId, nil] useTrashFolder: &useTrash inContext: context];
else if (theFolderType == ActiveSyncEventFolder)
[sogoObject prepareDelete];
else
[sogoObject delete];
}

1
NEWS
View File

@ -8,6 +8,7 @@ Bug fixes
- don't unescape twice mail folder names (#3423)
- don't consider mobile Outlook EAS clients as DAV ones (#3431)
- we now follow 301 redirects when fetching ICS calendars
- when deleting an event using EAS, properly invoke the auto-scheduling code
2.3.5 (2016-01-05)
------------------