mirror of
https://github.com/chatmail/core.git
synced 2026-04-21 15:36:30 +03:00
api: add ChatListChanged and ChatListItemChanged events (#4476)
This commit is contained in:
@@ -21,6 +21,7 @@ use std::fmt;
|
||||
use anyhow::Result;
|
||||
|
||||
use crate::chat::{send_msg, Chat, ChatId};
|
||||
use crate::chatlist_events;
|
||||
use crate::contact::ContactId;
|
||||
use crate::context::Context;
|
||||
use crate::events::EventType;
|
||||
@@ -214,6 +215,7 @@ async fn set_msg_id_reaction(
|
||||
msg_id,
|
||||
contact_id,
|
||||
});
|
||||
chatlist_events::emit_chatlist_item_changed(context, chat_id);
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user