Skip to content

Commit 30ac692

Browse files
committed
emit_chatlist_item_changed event on reaction update
needed for #5387
1 parent 3d0cbdd commit 30ac692

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/reaction.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ use crate::contact::ContactId;
2525
use crate::context::Context;
2626
use crate::events::EventType;
2727
use crate::message::{rfc724_mid_exists, Message, MsgId, Viewtype};
28+
use crate::ui_events;
2829

2930
/// A single reaction consisting of multiple emoji sequences.
3031
///
@@ -201,6 +202,7 @@ async fn set_msg_id_reaction(
201202
msg_id,
202203
contact_id,
203204
});
205+
ui_events::emit_chatlist_item_changed(context, chat_id);
204206
Ok(())
205207
}
206208

0 commit comments

Comments
 (0)