Use serverTimestamp for delivery receipts
This commit is contained in:
parent
b7c2e6d3e8
commit
e98b281644
2 changed files with 2 additions and 1 deletions
|
@ -1277,6 +1277,7 @@ export default class MessageReceiver
|
|||
new DeliveryEvent(
|
||||
{
|
||||
timestamp: envelope.timestamp,
|
||||
envelopeTimestamp: envelope.serverTimestamp,
|
||||
source: envelope.source,
|
||||
sourceUuid: envelope.sourceUuid,
|
||||
sourceDevice: envelope.sourceDevice,
|
||||
|
|
|
@ -127,7 +127,7 @@ export class ConfirmableEvent extends Event {
|
|||
|
||||
export type DeliveryEventData = Readonly<{
|
||||
timestamp: number;
|
||||
envelopeTimestamp?: number;
|
||||
envelopeTimestamp: number;
|
||||
source?: string;
|
||||
sourceUuid?: string;
|
||||
sourceDevice?: number;
|
||||
|
|
Loading…
Reference in a new issue