feat: remove show_emails config

This commit is contained in:
link2xt
2025-12-18 20:29:11 +00:00
committed by l
parent 8bc84e13de
commit 63596a4940
15 changed files with 10 additions and 200 deletions

View File

@@ -793,8 +793,7 @@ ORDER BY id"
let chat_msgs = chat::get_chat_msgs(self, received.chat_id).await.unwrap();
assert!(
chat_msgs.contains(&ChatItem::Message { msg_id: msg.id }),
"received message is not shown in chat, maybe it's hidden (you may have \
to call set_config(Config::ShowEmails, Some(\"2\")).await)"
"received message is not shown in chat, maybe it's hidden"
);
msg