Made StoryDataType sourceDevice required

This commit is contained in:
Alvaro 2022-11-23 13:52:36 -07:00 committed by GitHub
parent e3299b0445
commit 4294429bc2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 28 additions and 2 deletions

View file

@ -2138,6 +2138,7 @@ export default class MessageReceiver
destinationUuid: envelope.destinationUuid.toString(),
timestamp: envelope.timestamp,
serverTimestamp: envelope.serverTimestamp,
device: envelope.sourceDevice,
unidentifiedStatus: Array.from(sentToUuids).map(
destinationUuid => ({
destinationUuid,

View file

@ -184,7 +184,7 @@ export type SentEventData = Readonly<{
destinationUuid?: string;
timestamp?: number;
serverTimestamp?: number;
device?: number;
device: number | undefined;
unidentifiedStatus: ProcessedSent['unidentifiedStatus'];
message: ProcessedDataMessage;
isRecipientUpdate: boolean;