mirror of
https://github.com/chatmail/core.git
synced 2026-04-28 10:56:29 +03:00
add delete event for webxdc
This commit is contained in:
@@ -1236,6 +1236,9 @@ pub async fn delete_msgs(context: &Context, msg_ids: &[MsgId]) -> Result<()> {
|
||||
.trash(context)
|
||||
.await
|
||||
.with_context(|| format!("Unable to trash message {}", msg_id))?;
|
||||
|
||||
context.emit_event(EventType::WebXdInstanceDeleted { msg_id: *msg_id });
|
||||
|
||||
context
|
||||
.sql
|
||||
.execute(
|
||||
|
||||
Reference in New Issue
Block a user