Skip to content

Commit

Permalink
fix: start ephemeral timer for all archived chats if archived chat is…
Browse files Browse the repository at this point in the history
… noticed
  • Loading branch information
link2xt committed Dec 24, 2024
1 parent beb6a21 commit 8f3a656
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/chat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3266,6 +3266,7 @@ pub async fn marknoticed_chat(context: &Context, chat_id: ChatId) -> Result<()>
.await?;

for chat_id_in_archive in chat_ids_in_archive {
start_chat_ephemeral_timers(context, chat_id_in_archive).await?;
context.emit_event(EventType::MsgsNoticed(chat_id_in_archive));
chatlist_events::emit_chatlist_item_changed(context, chat_id_in_archive);
}
Expand Down

0 comments on commit 8f3a656

Please sign in to comment.