diff --git a/deltachat-rpc-client/tests/test_securejoin.py b/deltachat-rpc-client/tests/test_securejoin.py index 1e5112ff6..9b037cf76 100644 --- a/deltachat-rpc-client/tests/test_securejoin.py +++ b/deltachat-rpc-client/tests/test_securejoin.py @@ -1,6 +1,5 @@ import logging -import pytest from deltachat_rpc_client import Chat, SpecialContactId @@ -480,7 +479,6 @@ def test_gossip_verification(acfactory) -> None: assert carol_contact_alice_snapshot.is_verified -@pytest.mark.xfail() def test_securejoin_after_contact_resetup(acfactory) -> None: """ Regression test for a bug that prevented joining verified group with a QR code diff --git a/src/chat.rs b/src/chat.rs index 24e348e8c..e5e56bd82 100644 --- a/src/chat.rs +++ b/src/chat.rs @@ -502,15 +502,7 @@ impl ChatId { match protect { ProtectionStatus::Protected => match chat.typ { - Chattype::Single | Chattype::Group | Chattype::Broadcast => { - let contact_ids = get_chat_contacts(context, self).await?; - for contact_id in contact_ids { - let contact = Contact::get_by_id(context, contact_id).await?; - if !contact.is_verified(context).await? { - bail!("{} is not verified.", contact.get_display_name()); - } - } - } + Chattype::Single | Chattype::Group | Chattype::Broadcast => {} Chattype::Mailinglist => bail!("Cannot protect mailing lists"), }, ProtectionStatus::Unprotected | ProtectionStatus::ProtectionBroken => {}