Skip to content

Commit 1eda087

Browse files
committed
bump crypto sdk to 0.3.8
1 parent 61d4e46 commit 1eda087

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

matrix-sdk-android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ dependencies {
216216

217217
implementation libs.google.phonenumber
218218

219-
rustCryptoImplementation("org.matrix.rustcomponents:crypto-android:0.3.7")
219+
rustCryptoImplementation("org.matrix.rustcomponents:crypto-android:0.3.8")
220220
// rustCryptoApi project(":library:rustCrypto")
221221

222222
testImplementation libs.tests.junit

matrix-sdk-android/src/rustCrypto/java/org/matrix/android/sdk/internal/crypto/RustCryptoService.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,9 @@ internal class RustCryptoService @Inject constructor(
183183

184184
override fun getCryptoVersion(context: Context, longFormat: Boolean): String {
185185
val version = org.matrix.rustcomponents.sdk.crypto.version()
186+
val gitHash = org.matrix.rustcomponents.sdk.crypto.versionInfo().gitSha
186187
val vodozemac = org.matrix.rustcomponents.sdk.crypto.vodozemacVersion()
187-
return if (longFormat) "Rust SDK $version, Vodozemac $vodozemac" else version
188+
return if (longFormat) "Rust SDK $version ($gitHash), Vodozemac $vodozemac" else version
188189
}
189190

190191
override suspend fun getMyCryptoDevice(): CryptoDeviceInfo = withContext(coroutineDispatchers.io) {

0 commit comments

Comments
 (0)