Introduce versioning clock to timer system
This commit is contained in:
parent
bb1d957e49
commit
2fb50df0af
34 changed files with 703 additions and 28 deletions
|
@ -31,6 +31,7 @@ type MessageWithAvatar<Message extends OptionalFields> = Omit<
|
|||
> & {
|
||||
avatar?: ContactAvatarType;
|
||||
expireTimer?: DurationInSeconds;
|
||||
expireTimerVersion: number | null;
|
||||
number?: string | undefined;
|
||||
};
|
||||
|
||||
|
@ -207,6 +208,7 @@ function prepareContact(
|
|||
const result = {
|
||||
...proto,
|
||||
expireTimer,
|
||||
expireTimerVersion: proto.expireTimerVersion ?? null,
|
||||
aci,
|
||||
avatar,
|
||||
number: dropNull(proto.number),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue