Call serverTimestamp.toNumber()
for unprocessed
This commit is contained in:
parent
808c7dfb2d
commit
4978fae69c
1 changed files with 3 additions and 2 deletions
|
@ -611,8 +611,9 @@ class MessageReceiverInner extends EventTarget {
|
|||
envelope.source = envelope.source || item.source;
|
||||
envelope.sourceUuid = envelope.sourceUuid || item.sourceUuid;
|
||||
envelope.sourceDevice = envelope.sourceDevice || item.sourceDevice;
|
||||
envelope.serverTimestamp =
|
||||
envelope.serverTimestamp || item.serverTimestamp;
|
||||
envelope.serverTimestamp = envelope.serverTimestamp
|
||||
? envelope.serverTimestamp.toNumber()
|
||||
: item.serverTimestamp;
|
||||
|
||||
const { decrypted } = item;
|
||||
if (decrypted) {
|
||||
|
|
Loading…
Reference in a new issue