fix generating of message ID

This commit is contained in:
Pavel Prichodko 2022-06-14 14:15:19 +02:00
parent e0f5c2ae12
commit dd67a504bf
No known key found for this signature in database
GPG Key ID: 0EB8D75C775AB6F1
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ export function handleWakuMessage(
)
const messageId = payloadToId(
decodedProtocol?.publicMessage || decodedMetadata.payload,
decodedProtocol?.publicMessage ?? wakuMessage.payload,
publicKey
)