From 012264d3ba005bae6695b191362aabc0abdec692 Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Thu, 30 Jan 2020 07:55:01 -0400 Subject: [PATCH] unused code --- services/gunDB/contact-api/events/index.js | 6 ------ 1 file changed, 6 deletions(-) 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 => {