diff --git a/services/gunDB/contact-api/events/index.js b/services/gunDB/contact-api/events/index.js index 1330f0af..a9fc0774 100644 --- a/services/gunDB/contact-api/events/index.js +++ b/services/gunDB/contact-api/events/index.js @@ -316,11 +316,6 @@ const onIncomingMessages = (cb, userPK, incomingFeedID, gun, user, SEA) => { */ let currentOutgoings = {} -/** - * @type {Outgoings} - */ -let encryptedOutgoings = {} - /** @type {Set} */ const outgoingsListeners = new Set() @@ -344,7 +339,6 @@ const onOutgoing = cb => { if (lastUserWithListener !== currentUser) { // in case user changed gun alias currentOutgoings = {} - encryptedOutgoings = {} lastUserWithListener = currentUser currentUser.get(Key.OUTGOINGS).open(async data => {