From ab04e9bd17bfea482a522cf980e1ac6483b80b52 Mon Sep 17 00:00:00 2001 From: William Grant Date: Wed, 26 Apr 2023 16:07:13 +1000 Subject: [PATCH] fix: updated comment for when to remove legacy code --- ts/receiver/queuedJob.ts | 2 +- ts/session/group/closed-group.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ts/receiver/queuedJob.ts b/ts/receiver/queuedJob.ts index b25003066..42f0c0601 100644 --- a/ts/receiver/queuedJob.ts +++ b/ts/receiver/queuedJob.ts @@ -198,7 +198,7 @@ export type RegularMessageType = Pick< | 'reaction' | 'profile' | 'profileKey' - // TODO Will be removed 2 weeks after release + // TODO legacy messages support will be removed in a future release | 'expireTimer' > & { isRegularMessage: true }; diff --git a/ts/session/group/closed-group.ts b/ts/session/group/closed-group.ts index 3b0fc9c62..105c86561 100644 --- a/ts/session/group/closed-group.ts +++ b/ts/session/group/closed-group.ts @@ -291,7 +291,7 @@ export async function updateOrCreateClosedGroup(details: GroupInfo) { } await conversation.updateExpireTimer({ - // TODO clean up 2 weeks after release? + // TODO legacy messages support will be removed in a future release // TODO What are we cleaning? providedExpirationType: expirationType || 'deleteAfterSend', providedExpireTimer: expireTimer,