Merge branch 'drafts_outlook' into 'mainline'

engine: imap-engine: Outlook now supports UIDPLUS

Closes #1382

See merge request GNOME/geary!733
This commit is contained in:
Cédric Bellegarde 2022-07-05 19:42:51 +00:00
commit 6bce01b81b
2 changed files with 0 additions and 22 deletions

View file

@ -50,9 +50,6 @@ private class Geary.ImapEngine.OutlookAccount : Geary.ImapEngine.GenericAccount
}
}
if (use == DRAFTS)
return new OutlookDraftsFolder(this, local_folder);
return new OutlookFolder(this, local_folder, use);
}

View file

@ -1,19 +0,0 @@
/* Copyright 2016 Software Freedom Conservancy Inc.
*
* This software is licensed under the GNU Lesser General Public License
* (version 2.1 or later). See the COPYING file in this distribution.
*/
/**
* Since Outlook doesn't support UIDPLUS, we can't delete old drafts before
* saving a new one. Instead of allowing their drafts folder to fill up with
* countless revisions of every message, we simply don't expose the
* Geary.FolderSupport.Create interface from the drafts folder, so nothing gets
* saved at all.
*/
private class Geary.ImapEngine.OutlookDraftsFolder : MinimalFolder {
public OutlookDraftsFolder(OutlookAccount account,
ImapDB.Folder local_folder) {
base(account, local_folder, DRAFTS);
}
}