Emit DC_EVENT_MSGS_CHANGED for DC_CHAT_ID_ARCHIVED_LINK when the number of archived chats with

unread messages increases (#3940)
This commit is contained in:
iequidoo
2023-01-13 15:58:52 -03:00
committed by iequidoo
parent badbf766bb
commit 3cf78749df
4 changed files with 89 additions and 13 deletions

View File

@@ -1235,7 +1235,7 @@ SET rfc724_mid=excluded.rfc724_mid, chat_id=excluded.chat_id,
replace_msg_id.delete_from_db(context).await?;
}
chat_id.unarchive_if_not_muted(context).await?;
chat_id.unarchive_if_not_muted(context, state).await?;
info!(
context,