From 39e4a33ef28ce1f217a2c7c4cef1949b20fc8333 Mon Sep 17 00:00:00 2001 From: automated-signal <37887102+automated-signal@users.noreply.github.com> Date: Wed, 2 Jul 2025 17:35:28 -0500 Subject: [PATCH] [signalapp/Signal-Desktop#7403] use fromSeconds when setting universalExpireTimer Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> Co-authored-by: odpay --- ts/state/smart/Preferences.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/state/smart/Preferences.tsx b/ts/state/smart/Preferences.tsx index 752de764cc..a9820765b3 100644 --- a/ts/state/smart/Preferences.tsx +++ b/ts/state/smart/Preferences.tsx @@ -202,7 +202,7 @@ export function SmartPreferences(): JSX.Element | null { const universalExpireTimer = universalExpireTimerUtil.getForRedux(items); const onUniversalExpireTimerChange = async (newValue: number) => { - await universalExpireTimerUtil.set(DurationInSeconds.fromMillis(newValue)); + await universalExpireTimerUtil.set(DurationInSeconds.fromSeconds(newValue)); // Update account in Storage Service const account = window.ConversationController.getOurConversationOrThrow();