api: add JSON-RPC API to get past members

This commit is contained in:
link2xt
2025-01-16 11:38:19 +00:00
committed by l
parent 65a9c4b79b
commit 8dcd8aa69d
4 changed files with 22 additions and 2 deletions

View File

@@ -231,7 +231,9 @@ def test_chat(acfactory) -> None:
group.get_fresh_message_count()
group.mark_noticed()
assert group.get_contacts()
group.remove_contact(alice_chat_bob)
assert group.get_past_contacts() == []
group.remove_contact(alice_contact_bob)
assert len(group.get_past_contacts()) == 1
group.get_locations()