use Rpc.createContact() to set contact's name

This commit is contained in:
adbenitez 2025-03-20 17:38:57 +01:00
parent fbca401488
commit c1eff8362f
2 changed files with 14 additions and 1 deletions

View file

@ -129,6 +129,10 @@ public class Rpc {
return getResult("get_account_file_size", accountId).getAsInt();
}
public int createContact(int accountId, String email, String name) throws RpcException {
return getResult("create_contact", accountId, email, name).getAsInt();
}
public int addAccount() throws RpcException {
return getResult("add_account").getAsInt();
}