mirror of
https://github.com/chatmail/core.git
synced 2026-04-19 14:36:29 +03:00
first pass at resolving CR
This commit is contained in:
@@ -1227,6 +1227,14 @@ impl Imap {
|
||||
return;
|
||||
}
|
||||
|
||||
if !self
|
||||
.add_flag_finalized_with_set(context, SELECT_ALL, "\\Deleted")
|
||||
.await
|
||||
{
|
||||
error!(context, "Cannot mark messages for deletion {}", folder);
|
||||
return;
|
||||
}
|
||||
|
||||
// we now trigger expunge to actually delete messages
|
||||
self.config.selected_folder_needs_expunge = true;
|
||||
match self.select_folder::<String>(context, None).await {
|
||||
|
||||
Reference in New Issue
Block a user