mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
Update to the new dc_accounts_new() API
This commit is contained in:
+2
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user