From 344e290ec1b9409fafc1d1af8a65b994b54337e8 Mon Sep 17 00:00:00 2001 From: Morgan Pretty Date: Thu, 20 Jun 2024 14:37:01 +1000 Subject: [PATCH] Added a 30s disappearing messages option to debug builds for testing --- .../Models/DisappearingMessageConfiguration.swift | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/SessionMessagingKit/Database/Models/DisappearingMessageConfiguration.swift b/SessionMessagingKit/Database/Models/DisappearingMessageConfiguration.swift index 7a37092f7..24361408f 100644 --- a/SessionMessagingKit/Database/Models/DisappearingMessageConfiguration.swift +++ b/SessionMessagingKit/Database/Models/DisappearingMessageConfiguration.swift @@ -376,6 +376,10 @@ extension DisappearingMessagesConfiguration { TimeInterval(60), at: 0 ) + result.insert( + TimeInterval(30), + at: 0 + ) result.insert( TimeInterval(10), at: 0 @@ -391,6 +395,10 @@ extension DisappearingMessagesConfiguration { ] .map { TimeInterval($0) } #if targetEnvironment(simulator) + result.insert( + TimeInterval(30), + at: 0 + ) result.insert( TimeInterval(10), at: 0