mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-02-20 17:59:47 +00:00
Handle Envelope.serverGuidBinary
This commit is contained in:
@@ -453,7 +453,12 @@ export default class MessageReceiver
|
||||
),
|
||||
timestamp: decoded.clientTimestamp?.toNumber() ?? 0,
|
||||
content,
|
||||
serverGuid: decoded.serverGuid ?? getGuid(),
|
||||
serverGuid:
|
||||
(Bytes.isNotEmpty(decoded.serverGuidBinary)
|
||||
? bytesToUuid(decoded.serverGuidBinary)
|
||||
: undefined) ??
|
||||
decoded.serverGuid ??
|
||||
getGuid(),
|
||||
serverTimestamp,
|
||||
urgent: isBoolean(decoded.urgent) ? decoded.urgent : true,
|
||||
story: decoded.story ?? false,
|
||||
|
||||
Reference in New Issue
Block a user