Update td_jni.cpp and td_jni.cpp

This commit is contained in:
Andrea Cavalli 2020-11-15 18:34:29 +01:00
parent 0596eeab6d
commit 38fd7a528c
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ static td::ClientManager *get_manager() {
}
static jint Client_createNativeClient(JNIEnv *env, jclass clazz) {
return static_cast<jint>(get_manager()->create_client());
return static_cast<jint>(get_manager()->create_client_id());
}
static void Client_nativeClientSend(JNIEnv *env, jclass clazz, jint client_id, jlong id, jobject function) {

View File

@ -32,7 +32,7 @@ static td::ClientManager *get_manager() {
}
static jint Client_createNativeClient(JNIEnv *env, jclass clazz) {
return static_cast<jint>(get_manager()->create_client());
return static_cast<jint>(get_manager()->create_client_id());
}
static void Client_nativeClientSend(JNIEnv *env, jclass clazz, jint client_id, jlong id, jobject function) {