mirror of
https://github.com/deltachat/deltachat-android.git
synced 2025-10-03 09:49:21 +02:00
Update to the new dc_accounts_new() API
This commit is contained in:
parent
6d1d33ad25
commit
1a13224ad2
1 changed files with 2 additions and 1 deletions
|
@ -227,7 +227,8 @@ JNIEXPORT jlong Java_com_b44t_messenger_DcAccounts_createAccountsCPtr(JNIEnv *en
|
|||
{
|
||||
CHAR_REF(osname);
|
||||
CHAR_REF(dir);
|
||||
jlong accountsCPtr = (jlong)dc_accounts_new(osnamePtr, dirPtr);
|
||||
int writable = 1;
|
||||
jlong accountsCPtr = (jlong)dc_accounts_new(dirPtr, writable);
|
||||
CHAR_UNREF(dir);
|
||||
CHAR_UNREF(osname);
|
||||
return accountsCPtr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue