Skip to content

Commit 351ed7b

Browse files
committed
chore: remove legacy disappearing message support
1 parent dfc0bf6 commit 351ed7b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

types/user/contacts.d.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,14 @@ declare module 'libsession_util_nodejs' {
2222
export type DisappearingMessageConversationModeType =
2323
| 'off'
2424
| 'deleteAfterRead'
25-
| 'deleteAfterSend'
26-
// TODO legacy messages support will be removed in a future release
27-
| 'legacy';
25+
| 'deleteAfterSend';
2826

2927
type ContactInfoShared = WithPriority & {
3028
id: string;
3129
name?: string;
3230
nickname?: string;
3331
profilePicture?: ProfilePicture;
34-
createdAtSeconds: number; // can only be set the first time a contact is created, a new change won't overide the value in the wrapper.
32+
createdAtSeconds: number; // can only be set the first time a contact is created, a new change won't override the value in the wrapper.
3533
expirationMode?: DisappearingMessageConversationModeType;
3634
expirationTimerSeconds?: number;
3735
};

0 commit comments

Comments
 (0)