mirror of
https://github.com/deltachat/deltachat-android.git
synced 2025-10-03 09:49:21 +02:00
use change_contact_name
This commit is contained in:
parent
c1eff8362f
commit
b14b8eea9d
2 changed files with 3 additions and 3 deletions
|
@ -129,8 +129,8 @@ 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 void changeContactName(int accountId, int contactId, String name) throws RpcException {
|
||||
getResult("change_contact_name", accountId, contactId, name);
|
||||
}
|
||||
|
||||
public int addAccount() throws RpcException {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue