test: use encryption in all JSON-RPC online tests

This commit is contained in:
link2xt
2025-04-01 17:19:39 +00:00
committed by l
parent c16c6f3ad6
commit 5cf8864066
3 changed files with 4 additions and 7 deletions

View File

@@ -79,7 +79,7 @@ class ACFactory:
) -> Message:
if not from_account:
from_account = (self.get_online_accounts(1))[0]
to_contact = from_account.create_contact(to_account.get_config("addr"))
to_contact = from_account.create_contact(to_account)
if group:
to_chat = from_account.create_group(group)
to_chat.add_contact(to_contact)