Introduce versioning clock to timer system

This commit is contained in:
Fedor Indutny
2024-08-21 09:03:28 -07:00
committed by GitHub
parent bb1d957e49
commit 2fb50df0af
34 changed files with 703 additions and 28 deletions

View File

@@ -321,6 +321,7 @@ export function processDataMessage(
groupV2: processGroupV2Context(message.groupV2),
flags: message.flags ?? 0,
expireTimer: DurationInSeconds.fromSeconds(message.expireTimer ?? 0),
expireTimerVersion: message.expireTimerVersion ?? 0,
profileKey:
message.profileKey && message.profileKey.length > 0
? Bytes.toBase64(message.profileKey)