add chatlist changed event

This commit is contained in:
Simon Laux
2021-11-29 17:56:54 +01:00
parent 7f97768c56
commit 3e35c23f29
12 changed files with 59 additions and 4 deletions

View File

@@ -1295,6 +1295,7 @@ pub async fn delete_msgs(context: &Context, msg_ids: &[MsgId]) -> Result<()> {
chat_id: ChatId::new(0),
msg_id: MsgId::new(0),
});
context.emit_event(EventType::ChatListChanged);
job::kill_action(context, Action::Housekeeping).await?;
job::add(
context,