fix: skip retry for expired status messages over 24 hours old (#2280)

This commit is contained in:
João Lucas de Oliveira Lopes
2026-01-22 09:55:29 -03:00
committed by GitHub
parent 5cbad3170b
commit 92d4198ff1
2 changed files with 16 additions and 1 deletions
+3
View File
@@ -22,6 +22,9 @@ export const WA_ADV_HOSTED_DEVICE_SIG_PREFIX = Buffer.from([6, 6])
export const WA_DEFAULT_EPHEMERAL = 7 * 24 * 60 * 60
/** Status messages older than 24 hours are considered expired */
export const STATUS_EXPIRY_SECONDS = 24 * 60 * 60
export const NOISE_MODE = 'Noise_XX_25519_AESGCM_SHA256\0\0\0\0'
export const DICT_VERSION = 3
export const KEY_BUNDLE_TYPE = Buffer.from([5])