From 3bdba5374e4eb44ddfc23d0b65ffa55c2e26f0bf Mon Sep 17 00:00:00 2001 From: SessionHero01 <180888785+SessionHero01@users.noreply.github.com> Date: Fri, 7 Mar 2025 15:28:10 +1100 Subject: [PATCH] Increase build version and updated deprecation dates (#1008) --- app/build.gradle | 2 +- .../messaging/groups/LegacyGroupDeprecationManager.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 090e340828..1de3eee0d6 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -15,7 +15,7 @@ configurations.configureEach { exclude module: "commons-logging" } -def canonicalVersionCode = 395 +def canonicalVersionCode = 396 def canonicalVersionName = "1.21.0" def postFixSize = 10 diff --git a/libsession/src/main/java/org/session/libsession/messaging/groups/LegacyGroupDeprecationManager.kt b/libsession/src/main/java/org/session/libsession/messaging/groups/LegacyGroupDeprecationManager.kt index bdfeec6012..e8c8635dc8 100644 --- a/libsession/src/main/java/org/session/libsession/messaging/groups/LegacyGroupDeprecationManager.kt +++ b/libsession/src/main/java/org/session/libsession/messaging/groups/LegacyGroupDeprecationManager.kt @@ -24,7 +24,7 @@ class LegacyGroupDeprecationManager(private val prefs: TextSecurePreferences) { // The time all legacy groups will cease working. This value can be overridden by a debug // facility. - private val defaultDeprecatedTime = ZonedDateTime.of(2025, 7, 1, 0, 0, 0, 0, ZoneId.of("UTC")) + private val defaultDeprecatedTime = ZonedDateTime.of(2025, 4, 2, 22, 0, 0, 0, ZoneId.of("UTC")) private val mutableDeprecatedTime = MutableStateFlow( prefs.deprecatedTimeOverride ?: defaultDeprecatedTime @@ -33,7 +33,7 @@ class LegacyGroupDeprecationManager(private val prefs: TextSecurePreferences) { val deprecatedTime: StateFlow get() = mutableDeprecatedTime // The time a warning will be shown to users that legacy groups are being deprecated. - private val defaultDeprecatingStartTime = ZonedDateTime.of(2025, 2, 24, 0, 0, 0, 0, ZoneId.of("UTC")) + private val defaultDeprecatingStartTime = ZonedDateTime.of(2025, 3, 19, 22, 0, 0, 0, ZoneId.of("UTC")) private val mutableDeprecatingStartTime: MutableStateFlow = MutableStateFlow( prefs.deprecatingStartTimeOverride ?: defaultDeprecatingStartTime