From d904a8965dc27f40a05fb07ab96c4c64eb59e120 Mon Sep 17 00:00:00 2001 From: cketti Date: Thu, 30 Apr 2020 15:52:49 +0200 Subject: [PATCH] Allow removal of special folders --- app/core/src/main/java/com/fsck/k9/mailstore/K9BackendStorage.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/app/core/src/main/java/com/fsck/k9/mailstore/K9BackendStorage.kt b/app/core/src/main/java/com/fsck/k9/mailstore/K9BackendStorage.kt index c83238c21..a77fbad20 100644 --- a/app/core/src/main/java/com/fsck/k9/mailstore/K9BackendStorage.kt +++ b/app/core/src/main/java/com/fsck/k9/mailstore/K9BackendStorage.kt @@ -111,7 +111,6 @@ class K9BackendStorage( override fun deleteFolders(folderServerIds: List) { folderServerIds.asSequence() - .filterNot { account.isSpecialFolder(it) } .map { localStore.getFolder(it) } .forEach { it.delete() } }