Add receive support for pin/unpin message

This commit is contained in:
Jamie
2025-12-04 12:47:19 -08:00
committed by GitHub
parent 1b03cc4b9b
commit efe2c8de71
24 changed files with 861 additions and 97 deletions

View File

@@ -2101,12 +2101,14 @@ export default class MessageReceiver
log.warn(`${logId}: Dropping too-long message. Length: ${length}`);
}
strictAssert(timestamp, 'Missing sent timestamp');
const ev = new SentEvent(
{
envelopeId: envelope.id,
destinationE164: dropNull(destinationE164),
destinationServiceId,
timestamp: timestamp?.toNumber(),
timestamp: timestamp.toNumber(),
serverTimestamp: envelope.serverTimestamp,
device: envelope.sourceDevice,
unidentifiedStatus,