fix generating of message ID
This commit is contained in:
parent
458d299b4a
commit
56197b950e
|
@ -57,7 +57,7 @@ export function handleWakuMessage(
|
||||||
)
|
)
|
||||||
|
|
||||||
const messageId = payloadToId(
|
const messageId = payloadToId(
|
||||||
decodedProtocol?.publicMessage || decodedMetadata.payload,
|
decodedProtocol?.publicMessage ?? wakuMessage.payload,
|
||||||
publicKey
|
publicKey
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue