Merge pull request #4714 from k9mail/allow_special_folder_removal

Allow removal of special folders
This commit is contained in:
cketti 2020-04-30 17:16:21 +02:00 committed by GitHub
commit 5abb0dc71f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -111,7 +111,6 @@ class K9BackendStorage(
override fun deleteFolders(folderServerIds: List<String>) {
folderServerIds.asSequence()
.filterNot { account.isSpecialFolder(it) }
.map { localStore.getFolder(it) }
.forEach { it.delete() }
}