Remove unused InterruptInfo.msg_id

This commit is contained in:
link2xt
2021-12-30 02:14:47 +00:00
parent 9af36460c2
commit 87e3dead14
4 changed files with 21 additions and 43 deletions

View File

@@ -1230,9 +1230,7 @@ pub async fn delete_msgs(context: &Context, msg_ids: &[MsgId]) -> Result<()> {
}
// Interrupt Inbox loop to start message deletion.
context
.interrupt_inbox(InterruptInfo::new(false, None))
.await;
context.interrupt_inbox(InterruptInfo::new(false)).await;
Ok(())
}