muted chats stay archived (#3184)

* do not unarchive muted chats on sending/receving messages

* add a test for unarchive muted chats

* update CHANGELOG

* improve test_unarchive_if_muted
This commit is contained in:
bjoern
2022-04-04 11:02:36 +02:00
committed by GitHub
parent de91063fbe
commit 2cf11bb2ea
3 changed files with 95 additions and 9 deletions

View File

@@ -1187,7 +1187,7 @@ INSERT INTO msgs
}
drop(conn);
chat_id.unarchive(context).await?;
chat_id.unarchive_if_not_muted(context).await?;
info!(
context,