File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed
deltachat-rpc-client/tests Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change 1
1
import logging
2
2
3
- import pytest
4
3
from deltachat_rpc_client import Chat , SpecialContactId
5
4
6
5
@@ -480,7 +479,6 @@ def test_gossip_verification(acfactory) -> None:
480
479
assert carol_contact_alice_snapshot .is_verified
481
480
482
481
483
- @pytest .mark .xfail ()
484
482
def test_securejoin_after_contact_resetup (acfactory ) -> None :
485
483
"""
486
484
Regression test for a bug that prevented joining verified group with a QR code
Original file line number Diff line number Diff line change @@ -502,15 +502,7 @@ impl ChatId {
502
502
503
503
match protect {
504
504
ProtectionStatus :: Protected => match chat. typ {
505
- Chattype :: Single | Chattype :: Group | Chattype :: Broadcast => {
506
- let contact_ids = get_chat_contacts ( context, self ) . await ?;
507
- for contact_id in contact_ids {
508
- let contact = Contact :: get_by_id ( context, contact_id) . await ?;
509
- if !contact. is_verified ( context) . await ? {
510
- bail ! ( "{} is not verified." , contact. get_display_name( ) ) ;
511
- }
512
- }
513
- }
505
+ Chattype :: Single | Chattype :: Group | Chattype :: Broadcast => { }
514
506
Chattype :: Mailinglist => bail ! ( "Cannot protect mailing lists" ) ,
515
507
} ,
516
508
ProtectionStatus :: Unprotected | ProtectionStatus :: ProtectionBroken => { }
You can’t perform that action at this time.
0 commit comments