reduce code a bit and shortcut contact lookup to make it easier to remove an existing contact whether blocked or not.

This commit is contained in:
holger krekel
2020-10-23 20:38:10 +02:00
parent 41b2dee4ca
commit ef245b5759
2 changed files with 7 additions and 4 deletions

View File

@@ -306,6 +306,10 @@ class TestOfflineChat:
group.remove_contact(contact)
assert contact.is_blocked()
lp.sec("ac1 adding blocked contact unblocks it")
group.add_contact(contact)
assert not contact.is_blocked()
def test_get_set_profile_image_simple(self, ac1, data):
chat = ac1.create_group_chat(name="title1")
p = data.get_path("d.png")