diff --git a/LibSession-Util b/LibSession-Util index 3eb9eb792..20d7275ba 160000 --- a/LibSession-Util +++ b/LibSession-Util @@ -1 +1 @@ -Subproject commit 3eb9eb79235d8454aa6fc56278230a1fa26c9fb7 +Subproject commit 20d7275ba52b044cf144da71cf6141c3987680dc diff --git a/Session.xcodeproj/project.pbxproj b/Session.xcodeproj/project.pbxproj index f48d47123..5dacdb83c 100644 --- a/Session.xcodeproj/project.pbxproj +++ b/Session.xcodeproj/project.pbxproj @@ -832,7 +832,7 @@ FD99D0872D0FA731005D2E15 /* ThreadSafe.swift in Sources */ = {isa = PBXBuildFile; fileRef = FD99D0862D0FA72E005D2E15 /* ThreadSafe.swift */; }; FD99D0902D10E71B005D2E15 /* NSCache+Utilities.swift in Sources */ = {isa = PBXBuildFile; fileRef = FD99D08F2D10E718005D2E15 /* NSCache+Utilities.swift */; }; FD99D0922D10F5EE005D2E15 /* ThreadSafeSpec.swift in Sources */ = {isa = PBXBuildFile; fileRef = FD99D0912D10F5EB005D2E15 /* ThreadSafeSpec.swift */; }; - FD9AECA52AAA9609009B3406 /* NotificationError.swift in Sources */ = {isa = PBXBuildFile; fileRef = FD9AECA42AAA9609009B3406 /* NotificationError.swift */; }; + FD9AECA52AAA9609009B3406 /* NotificationResolution.swift in Sources */ = {isa = PBXBuildFile; fileRef = FD9AECA42AAA9609009B3406 /* NotificationResolution.swift */; }; FD9BDE002A5D22B7005F1EBC /* libSessionUtil.a in Frameworks */ = {isa = PBXBuildFile; fileRef = FD9BDDF82A5D2294005F1EBC /* libSessionUtil.a */; }; FD9BDE012A5D24EA005F1EBC /* SessionUIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C331FF1B2558F9D300070591 /* SessionUIKit.framework */; }; FD9DD2712A72516D00ECB68E /* TestExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = FD9DD2702A72516D00ECB68E /* TestExtensions.swift */; }; @@ -2016,7 +2016,7 @@ FD99D0862D0FA72E005D2E15 /* ThreadSafe.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ThreadSafe.swift; sourceTree = ""; }; FD99D08F2D10E718005D2E15 /* NSCache+Utilities.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "NSCache+Utilities.swift"; sourceTree = ""; }; FD99D0912D10F5EB005D2E15 /* ThreadSafeSpec.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ThreadSafeSpec.swift; sourceTree = ""; }; - FD9AECA42AAA9609009B3406 /* NotificationError.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NotificationError.swift; sourceTree = ""; }; + FD9AECA42AAA9609009B3406 /* NotificationResolution.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NotificationResolution.swift; sourceTree = ""; }; FD9BDDF82A5D2294005F1EBC /* libSessionUtil.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libSessionUtil.a; sourceTree = BUILT_PRODUCTS_DIR; }; FD9DD2702A72516D00ECB68E /* TestExtensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TestExtensions.swift; sourceTree = ""; }; FDAA16752AC28A3B00DDBF77 /* UserDefaultsType.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UserDefaultsType.swift; sourceTree = ""; }; @@ -2646,7 +2646,7 @@ isa = PBXGroup; children = ( C31C219B255BC92200EC2D66 /* Meta */, - FD9AECA42AAA9609009B3406 /* NotificationError.swift */, + FD9AECA42AAA9609009B3406 /* NotificationResolution.swift */, 7BDCFC07242186E700641C39 /* NotificationServiceExtensionContext.swift */, 7BC01A3D241F40AB00BC7C55 /* NotificationServiceExtension.swift */, 7B1D74A927BCC16E0030B423 /* NSENotificationPresenter.swift */, @@ -5751,7 +5751,7 @@ 7BDCFC08242186E700641C39 /* NotificationServiceExtensionContext.swift in Sources */, 7BC01A3E241F40AB00BC7C55 /* NotificationServiceExtension.swift in Sources */, 7B1D74AA27BCC16E0030B423 /* NSENotificationPresenter.swift in Sources */, - FD9AECA52AAA9609009B3406 /* NotificationError.swift in Sources */, + FD9AECA52AAA9609009B3406 /* NotificationResolution.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -8054,6 +8054,7 @@ CODE_SIGN_ENTITLEMENTS = Session/Meta/Signal.entitlements; CODE_SIGN_IDENTITY = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 557; DEVELOPMENT_TEAM = SUQ8J2PCT7; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", @@ -8120,6 +8121,7 @@ CODE_SIGN_ENTITLEMENTS = Session/Meta/Signal.entitlements; CODE_SIGN_IDENTITY = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 557; DEVELOPMENT_TEAM = SUQ8J2PCT7; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", diff --git a/SessionNotificationServiceExtension/NotificationError.swift b/SessionNotificationServiceExtension/NotificationResolution.swift similarity index 100% rename from SessionNotificationServiceExtension/NotificationError.swift rename to SessionNotificationServiceExtension/NotificationResolution.swift diff --git a/SessionUtilitiesKit/General/Feature.swift b/SessionUtilitiesKit/General/Feature.swift index ce80acc77..02ed03420 100644 --- a/SessionUtilitiesKit/General/Feature.swift +++ b/SessionUtilitiesKit/General/Feature.swift @@ -5,8 +5,8 @@ import Foundation public final class Features { - public static let createUpdatedGroupFromDate: Date = Date.distantFuture - public static let legacyGroupDepricationDate: Date = Date.distantFuture + public static let createUpdatedGroupFromDate: Date = Date(timeIntervalSince1970: 1742421600) + public static let legacyGroupDepricationDate: Date = Date(timeIntervalSince1970: 1743631200) public static let legacyGroupDepricationUrl: String = "https://getsession.org/groups" } @@ -25,8 +25,7 @@ public extension FeatureStorage { ) static let debugDisappearingMessageDurations: FeatureConfig = Dependencies.create( - identifier: "debugDisappearingMessageDurations", - defaultOption: true // TODO: [GROUPS REBUILD] This should default to false + identifier: "debugDisappearingMessageDurations" ) static let updatedDisappearingMessages: FeatureConfig = Dependencies.create( @@ -43,7 +42,6 @@ public extension FeatureStorage { static let updatedGroups: FeatureConfig = Dependencies.create( identifier: "updatedGroups", - defaultOption: true, automaticChangeBehaviour: Feature.ChangeBehaviour( value: true, condition: .after(timestamp: Features.createUpdatedGroupFromDate.timeIntervalSince1970)