fix generating of message ID

This commit is contained in:
Pavel Prichodko 2022-06-14 14:15:19 +02:00
parent 458d299b4a
commit 56197b950e
No known key found for this signature in database
GPG Key ID: 8E4C82D464215E83
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
)