Don't call MessageStore.deleteFolders() with an empty list
This commit is contained in:
parent
8350a62cad
commit
0bc6d380c5
1 changed files with 3 additions and 1 deletions
|
@ -60,7 +60,9 @@ class K9BackendStorage(
|
|||
}
|
||||
|
||||
override fun deleteFolders(folderServerIds: List<String>) {
|
||||
messageStore.deleteFolders(folderServerIds)
|
||||
if (folderServerIds.isNotEmpty()) {
|
||||
messageStore.deleteFolders(folderServerIds)
|
||||
}
|
||||
}
|
||||
|
||||
override fun changeFolder(folderServerId: String, name: String, type: RemoteFolderType) {
|
||||
|
|
Loading…
Reference in a new issue