mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-18 11:12:27 +00:00
feat: add user group config handling
This commit is contained in:
@@ -119,4 +119,12 @@ Java_network_loki_messenger_libsession_1util_util_BaseCommunityInfo_00024Compani
|
||||
|
||||
jobject triple = env->NewObject(clazz, constructor, base_j, room_j, pk_jbytes);
|
||||
return triple;
|
||||
}
|
||||
extern "C"
|
||||
JNIEXPORT jstring JNICALL
|
||||
Java_network_loki_messenger_libsession_1util_util_BaseCommunityInfo_fullUrl(JNIEnv *env,
|
||||
jobject thiz) {
|
||||
auto deserialized = util::deserialize_base_community(env, thiz);
|
||||
auto full_url = deserialized.full_url();
|
||||
return env->NewStringUTF(full_url.data());
|
||||
}
|
@@ -7,4 +7,5 @@ data class BaseCommunityInfo(val baseUrl: String, val room: String, val pubKeyHe
|
||||
}
|
||||
external fun parseFullUrl(fullUrl: String): Triple<String, String, ByteArray>?
|
||||
}
|
||||
external fun fullUrl(): String
|
||||
}
|
Reference in New Issue
Block a user