From 88bcea1552c572b59f0c2a3d8381c2b8e63c4a68 Mon Sep 17 00:00:00 2001 From: cketti Date: Fri, 1 May 2020 03:36:42 +0200 Subject: [PATCH] Remove StoreConfig.getOutboxFolder() --- .../src/main/java/com/fsck/k9/mail/store/StoreConfig.java | 1 - .../src/main/java/com/fsck/k9/mail/store/imap/ImapStore.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/mail/common/src/main/java/com/fsck/k9/mail/store/StoreConfig.java b/mail/common/src/main/java/com/fsck/k9/mail/store/StoreConfig.java index 43f668be9..03112a926 100644 --- a/mail/common/src/main/java/com/fsck/k9/mail/store/StoreConfig.java +++ b/mail/common/src/main/java/com/fsck/k9/mail/store/StoreConfig.java @@ -7,7 +7,6 @@ public interface StoreConfig { boolean isSubscribedFoldersOnly(); boolean useCompression(NetworkType type); - String getOutboxFolder(); String getDraftsFolder(); int getMaximumAutoDownloadMessageSize(); diff --git a/mail/protocols/imap/src/main/java/com/fsck/k9/mail/store/imap/ImapStore.java b/mail/protocols/imap/src/main/java/com/fsck/k9/mail/store/imap/ImapStore.java index 14369354f..7bf55249a 100644 --- a/mail/protocols/imap/src/main/java/com/fsck/k9/mail/store/imap/ImapStore.java +++ b/mail/protocols/imap/src/main/java/com/fsck/k9/mail/store/imap/ImapStore.java @@ -187,7 +187,7 @@ public class ImapStore { if (ImapFolder.INBOX.equalsIgnoreCase(serverId)) { continue; - } else if (serverId.equals(storeConfig.getOutboxFolder())) { + } else if (serverId.equals("K9MAIL_INTERNAL_OUTBOX")) { /* * There is a folder on the server with the same name as our local * outbox. Until we have a good plan to deal with this situation