Skip to content

Commit

Permalink
emit_chatlist_item_changed event on reaction update
Browse files Browse the repository at this point in the history
needed for #5387
  • Loading branch information
Simon-Laux committed Apr 4, 2024
1 parent 3d0cbdd commit 30ac692
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/reaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ use crate::contact::ContactId;
use crate::context::Context;
use crate::events::EventType;
use crate::message::{rfc724_mid_exists, Message, MsgId, Viewtype};
use crate::ui_events;

/// A single reaction consisting of multiple emoji sequences.
///
Expand Down Expand Up @@ -201,6 +202,7 @@ async fn set_msg_id_reaction(
msg_id,
contact_id,
});
ui_events::emit_chatlist_item_changed(context, chat_id);
Ok(())
}

Expand Down

0 comments on commit 30ac692

Please sign in to comment.