feat: do not post "... verified" messages on QR scan success

We still post "... not verified" on failure.
This commit is contained in:
link2xt
2023-11-13 23:29:24 +00:00
parent 678142b3fb
commit c6ea4e389a
3 changed files with 10 additions and 64 deletions

View File

@@ -824,6 +824,7 @@ pub(crate) async fn secure_join_group_qr_description(context: &Context, chat: &C
}
/// Stock string: `%1$s verified.`.
#[allow(dead_code)]
pub(crate) async fn contact_verified(context: &Context, contact: &Contact) -> String {
let addr = &contact.get_name_n_addr();
translated(context, StockMessage::ContactVerified)