mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-11 12:37:26 +00:00
Group keys and message response improvement
This commit is contained in:
Submodule libsession-util/libsession-util updated: 995e22dcbf...f649dec5d6
@@ -295,4 +295,12 @@ Java_network_loki_messenger_libsession_1util_GroupKeysConfig_currentGeneration(J
|
||||
std::lock_guard lock{util::util_mutex_};
|
||||
auto ptr = ptrToKeys(env, thiz);
|
||||
return ptr->current_generation();
|
||||
}
|
||||
|
||||
extern "C"
|
||||
JNIEXPORT jboolean JNICALL
|
||||
Java_network_loki_messenger_libsession_1util_GroupKeysConfig_admin(JNIEnv *env, jobject thiz) {
|
||||
std::lock_guard lock{util::util_mutex_};
|
||||
auto ptr = ptrToKeys(env, thiz);
|
||||
return ptr->admin();
|
||||
}
|
@@ -500,6 +500,7 @@ class GroupKeysConfig private constructor(pointer: Long): ConfigSig(pointer), Mu
|
||||
external override fun subAccountSign(message: ByteArray, signingValue: ByteArray): SwarmAuth
|
||||
|
||||
external override fun currentGeneration(): Int
|
||||
external fun admin(): Boolean
|
||||
|
||||
data class SwarmAuth(
|
||||
val subAccount: String,
|
||||
|
Reference in New Issue
Block a user