From 730641a14dcee91f825c220d8771fcd5b46dbc3e Mon Sep 17 00:00:00 2001 From: William Grant Date: Fri, 13 Oct 2023 15:26:17 +1100 Subject: [PATCH] feat: added todo to section duck we want to move it into a redux slice in future --- ts/session/sending/MessageSentHandler.ts | 2 -- ts/state/ducks/section.tsx | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ts/session/sending/MessageSentHandler.ts b/ts/session/sending/MessageSentHandler.ts index 6de155f42..f1348ca59 100644 --- a/ts/session/sending/MessageSentHandler.ts +++ b/ts/session/sending/MessageSentHandler.ts @@ -174,8 +174,6 @@ async function handleMessageSentFailure( ); } - // We don't set the expirationStartTimestamp on a disappearing message here incase the user wishes to try and resend the message - await fetchedMessage.commit(); await fetchedMessage.getConversation()?.updateLastMessage(); } diff --git a/ts/state/ducks/section.tsx b/ts/state/ducks/section.tsx index fbfaaff6a..e68be2d05 100644 --- a/ts/state/ducks/section.tsx +++ b/ts/state/ducks/section.tsx @@ -1,3 +1,4 @@ +// TODOLATER move into redux slice import { SessionSettingCategory } from '../../components/settings/SessionSettings'; export const FOCUS_SECTION = 'FOCUS_SECTION';