diff --git a/services/gunDB/contact-api/streams/index.js b/services/gunDB/contact-api/streams/index.js index 85c7834d..ce5502d3 100644 --- a/services/gunDB/contact-api/streams/index.js +++ b/services/gunDB/contact-api/streams/index.js @@ -139,8 +139,9 @@ const onIncoming = cb => { return } const ourSecret = await SEA.secret(await Utils.pubToEpub(pub), user._.sea) + const mySecret = await Utils.mySecret() - const feed = await SEA.decrypt(encFeed, ourSecret) + const feed = await SEA.decrypt(encFeed, mySecret) if (pubFeedPairsWithIncomingListeners.add(pub + '--' + feed)) { require('../../Mediator')