Skip to content

Commit c639f39

Browse files
SessionHero01SessionHero01
authored andcommitted
Compile issues
1 parent ae9a84a commit c639f39

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
lines changed

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[versions]
2-
agp = "8.11.1"
2+
agp = "8.12.0"
33
kotlin = "2.2.0"
44

55
[libraries]

library/src/main/cpp/conversation.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,12 +439,12 @@ extern "C"
439439
JNIEXPORT jobject JNICALL
440440
Java_network_loki_messenger_libsession_1util_ConversationVolatileConfig_getOrConstructedBlindedOneToOne(
441441
JNIEnv *env, jobject thiz, jstring blinded_id) {
442-
return serialize_blinded_one_to_one(env, ptrToConvoInfo(env, thiz)->get_or_construct_blinded_1to1(jni_utils::JavaStringRef(env, blinded_id).view(), true));
442+
return serialize_blinded_one_to_one(env, ptrToConvoInfo(env, thiz)->get_or_construct_blinded_1to1(jni_utils::JavaStringRef(env, blinded_id).view()));
443443
}
444444

445445
extern "C"
446446
JNIEXPORT jboolean JNICALL
447447
Java_network_loki_messenger_libsession_1util_ConversationVolatileConfig_eraseBlindedOneToOne(
448448
JNIEnv *env, jobject thiz, jstring blinded_id) {
449-
return ptrToConvoInfo(env, thiz)->erase_blinded_1to1(jni_utils::JavaStringRef(env, blinded_id).view(), true);
449+
return ptrToConvoInfo(env, thiz)->erase_blinded_1to1(jni_utils::JavaStringRef(env, blinded_id).view());
450450
}

library/src/main/cpp/user_profile.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,3 @@ Java_network_loki_messenger_libsession_1util_UserProfile_isBlockCommunityMessage
9999
auto profile = ptrToProfile(env, thiz);
100100
return profile->get_blinded_msgreqs().has_value();
101101
}
102-
103-
extern "C"
104-
JNIEXPORT void JNICALL
105-
Java_network_loki_messenger_libsession_1util_UserProfile_setLastUpdated(JNIEnv *env, jobject thiz,
106-
jlong last_updated_epoch_seconds) {
107-
ptrToProfile(env, thiz)->set_profile_pic()
108-
}

0 commit comments

Comments
 (0)