Use DurationInSeconds for expireTimer

This commit is contained in:
Fedor Indutny
2022-11-16 12:18:02 -08:00
committed by GitHub
parent cf57c7aaf0
commit 6be69a7ba8
59 changed files with 411 additions and 216 deletions

View File

@@ -7,6 +7,7 @@ import type { UUID, UUIDStringType } from '../types/UUID';
import type { TextAttachmentType } from '../types/Attachment';
import type { GiftBadgeStates } from '../components/conversation/Message';
import type { MIMEType } from '../types/MIME';
import type { DurationInSeconds } from '../util/durations';
export {
IdentityKeyType,
@@ -207,7 +208,7 @@ export type ProcessedDataMessage = {
group?: ProcessedGroupContext;
groupV2?: ProcessedGroupV2Context;
flags: number;
expireTimer: number;
expireTimer: DurationInSeconds;
profileKey?: string;
timestamp: number;
quote?: ProcessedQuote;