diff --git a/services/gunDB/contact-api/events/index.js b/services/gunDB/contact-api/events/index.js index 2d792616..cec931f4 100644 --- a/services/gunDB/contact-api/events/index.js +++ b/services/gunDB/contact-api/events/index.js @@ -406,7 +406,10 @@ const onOutgoing = cb => { typeof msg.timestamp === 'number' ) { newOuts[id].messages[mid] = { - body: await SEA.decrypt(msg.body, ourSec), + body: + msg.body === Actions.INITIAL_MSG + ? Actions.INITIAL_MSG + : await SEA.decrypt(msg.body, ourSec), timestamp: msg.timestamp } }