fix: updated comment for when to remove legacy code

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

@ -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 };

@ -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,

Loading…
Cancel
Save