feat: add chat-deleted event

This commit is contained in:
B. Petersen
2025-03-06 20:30:17 +01:00
committed by bjoern
parent d6209e08e6
commit 9a915b2a95
5 changed files with 33 additions and 1 deletions
+1
View File
@@ -803,6 +803,7 @@ impl ChatId {
})
.await?;
context.emit_event(EventType::ChatDeleted { chat_id: self });
context.emit_msgs_changed_without_ids();
if let Some(id) = sync_id {