engine: imap-engine: Outlook now supports UIDPLUS

* OK The Microsoft Exchange IMAP4 service is ready. [QQBTADQAUAAxADkANQBDAEEAMAAwADEANwAuAEUAVQBSAFAAMQA5ADUALgBQAFIATwBEAC4ATwBVAFQATABPAE8ASwAuAEMATwBNAA==]
A001 CAPABILITY
* CAPABILITY IMAP4 IMAP4rev1 LOGINDISABLED STARTTLS SASL-IR UIDPLUS ID UNSELECT CHILDREN IDLE NAMESPACE LITERAL+
A001 OK CAPABILITY completed.

Fix #1382
This commit is contained in:
Cédric Bellegarde 2022-07-02 17:41:31 +02:00
parent daf95f2a59
commit 5f3b3ccd3f
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);
}
}