Don't call MessageStore.deleteFolders() with an empty list
@@ -60,8 +60,10 @@ class K9BackendStorage(
}
override fun deleteFolders(folderServerIds: List<String>) {
+ if (folderServerIds.isNotEmpty()) {
messageStore.deleteFolders(folderServerIds)
}
+ }
override fun changeFolder(folderServerId: String, name: String, type: RemoteFolderType) {
messageStore.changeFolder(folderServerId, name, type)
