api: add API to reset contact encryption

This commit is contained in:
link2xt
2024-11-02 20:45:47 +00:00
committed by l
parent c627d2fcc8
commit 92c6dd483c
4 changed files with 106 additions and 0 deletions

View File

@@ -246,6 +246,7 @@ def test_contact(acfactory) -> None:
assert repr(alice_contact_bob)
alice_contact_bob.block()
alice_contact_bob.unblock()
alice_contact_bob.reset_encryption()
alice_contact_bob.set_name("new name")
alice_contact_bob.get_encryption_info()
snapshot = alice_contact_bob.get_snapshot()