fix: updated comment for when to remove legacy code

pull/2660/head
William Grant 3 years ago
parent cfcf400ecf
commit ab04e9bd17

@ -198,7 +198,7 @@ export type RegularMessageType = Pick<
| 'reaction' | 'reaction'
| 'profile' | 'profile'
| 'profileKey' | 'profileKey'
// TODO Will be removed 2 weeks after release // TODO legacy messages support will be removed in a future release
| 'expireTimer' | 'expireTimer'
> & { isRegularMessage: true }; > & { isRegularMessage: true };

@ -291,7 +291,7 @@ export async function updateOrCreateClosedGroup(details: GroupInfo) {
} }
await conversation.updateExpireTimer({ 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? // TODO What are we cleaning?
providedExpirationType: expirationType || 'deleteAfterSend', providedExpirationType: expirationType || 'deleteAfterSend',
providedExpireTimer: expireTimer, providedExpireTimer: expireTimer,

Loading…
Cancel
Save