mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 17:36:29 +03:00
Display an error if message cannot be trashed
This commit is contained in:
@@ -988,7 +988,7 @@ pub fn delete_msgs(context: &Context, msg_ids: &[MsgId]) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if let Err(err) = msg_id.trash(context) {
|
if let Err(err) = msg_id.trash(context) {
|
||||||
warn!(context, "Unable to trash message {}: {}", msg_id, err);
|
error!(context, "Unable to trash message {}: {}", msg_id, err);
|
||||||
}
|
}
|
||||||
job_add(
|
job_add(
|
||||||
context,
|
context,
|
||||||
|
|||||||
Reference in New Issue
Block a user