mirror of
https://github.com/deltachat/deltachat-android.git
synced 2025-10-03 09:49:21 +02:00
use Rpc.createContact() to set contact's name
This commit is contained in:
parent
fbca401488
commit
c1eff8362f
2 changed files with 14 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue