Merge pull request #3694 from deltachat/adb/issue-3692

use Rpc to set contact's name
This commit is contained in:
adb
2025-03-21 13:47:32 +00:00
committed by GitHub
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 void changeContactName(int accountId, int contactId, String name) throws RpcException {
getResult("change_contact_name", accountId, contactId, name);
}
public int addAccount() throws RpcException {
return getResult("add_account").getAsInt();
}