Sender Key: Prepare for production
This commit is contained in:
parent
f226822dff
commit
bff3f0c74a
14 changed files with 334 additions and 183 deletions
|
@ -93,6 +93,7 @@ export type DecryptionErrorType = z.infer<typeof decryptionErrorTypeSchema>;
|
|||
|
||||
const retryRequestTypeSchema = z
|
||||
.object({
|
||||
groupId: z.string().optional(),
|
||||
requesterUuid: z.string(),
|
||||
requesterDevice: z.number(),
|
||||
senderDevice: z.number(),
|
||||
|
@ -1757,10 +1758,11 @@ class MessageReceiverInner extends EventTarget {
|
|||
|
||||
const event = new Event('retry-request');
|
||||
event.retryRequest = {
|
||||
sentAt: request.timestamp(),
|
||||
requesterUuid: sourceUuid,
|
||||
groupId: envelope.groupId,
|
||||
requesterDevice: sourceDevice,
|
||||
requesterUuid: sourceUuid,
|
||||
senderDevice: request.deviceId(),
|
||||
sentAt: request.timestamp(),
|
||||
};
|
||||
await this.dispatchAndWait(event);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue