Skip to content

Commit 88d59e9

Browse files
committed
Merge branch 'develop'
2 parents f0699b0 + 87d7fcd commit 88d59e9

File tree

6 files changed

+21
-4
lines changed

6 files changed

+21
-4
lines changed

CHANGES.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
Changes in Element v1.6.34 (2025-03-07)
2+
=======================================
3+
4+
Security fixes 🔐
5+
-----------------
6+
- Fix for [GHSA-632v-9pm3-m8ch](https://github.com/element-hq/element-android/security/advisories/GHSA-632v-9pm3-m8ch) / [CVE-2025-27606](https://www.cve.org/CVERecord?id=CVE-2025-27606)
7+
18
Changes in Element v1.6.32 (2025-02-18)
29
=======================================
310

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Main changes in this version: Improve security.
2+
Full changelog: https://github.com/element-hq/element-android/releases

matrix-sdk-android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ android {
6262
// that the app's state is completely cleared between tests.
6363
testInstrumentationRunnerArguments clearPackageData: 'true'
6464

65-
buildConfigField "String", "SDK_VERSION", "\"1.6.32\""
65+
buildConfigField "String", "SDK_VERSION", "\"1.6.34\""
6666

6767
buildConfigField "String", "GIT_SDK_REVISION", "\"${gitRevision()}\""
6868
buildConfigField "String", "GIT_SDK_REVISION_UNIX_DATE", "\"${gitRevisionUnixDate()}\""

vector-app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ ext.versionMinor = 6
3737
// Note: even values are reserved for regular release, odd values for hotfix release.
3838
// When creating a hotfix, you should decrease the value, since the current value
3939
// is the value for the next regular release.
40-
ext.versionPatch = 32
40+
ext.versionPatch = 34
4141

4242
static def getGitTimestamp() {
4343
def cmd = 'git show -s --format=%ct'

vector/src/main/java/im/vector/app/features/MainActivity.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ import javax.inject.Inject
6161
data class MainActivityArgs(
6262
val clearCache: Boolean = false,
6363
val clearCredentials: Boolean = false,
64+
val ignoreLogoutServerError: Boolean = false,
6465
val isUserLoggedOut: Boolean = false,
6566
val isAccountDeactivated: Boolean = false,
6667
val isSoftLogout: Boolean = false
@@ -238,6 +239,7 @@ class MainActivity : VectorBaseActivity<ActivityMainBinding>(), UnlockedActivity
238239
return MainActivityArgs(
239240
clearCache = argsFromIntent?.clearCache ?: false,
240241
clearCredentials = argsFromIntent?.clearCredentials ?: false,
242+
ignoreLogoutServerError = argsFromIntent?.ignoreLogoutServerError ?: false,
241243
isUserLoggedOut = argsFromIntent?.isUserLoggedOut ?: false,
242244
isAccountDeactivated = argsFromIntent?.isAccountDeactivated ?: false,
243245
isSoftLogout = argsFromIntent?.isSoftLogout ?: false
@@ -263,7 +265,7 @@ class MainActivity : VectorBaseActivity<ActivityMainBinding>(), UnlockedActivity
263265
}
264266
}
265267
args.clearCredentials -> {
266-
signout(session, onboardingStore, ignoreServerError = false)
268+
signout(session, onboardingStore, ignoreServerError = args.ignoreLogoutServerError)
267269
}
268270
args.clearCache -> {
269271
lifecycleScope.launch {

vector/src/main/java/im/vector/app/features/pin/PinFragment.kt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,12 @@ class PinFragment :
162162
}
163163

164164
private fun launchResetPinFlow() {
165-
MainActivity.restartApp(requireActivity(), MainActivityArgs(clearCredentials = true))
165+
MainActivity.restartApp(
166+
activity = requireActivity(),
167+
args = MainActivityArgs(
168+
clearCredentials = true,
169+
ignoreLogoutServerError = true,
170+
)
171+
)
166172
}
167173
}

0 commit comments

Comments
 (0)