mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
use Rpc.createContact() to set contact's name
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user