unused code

This commit is contained in:
Daniel Lugo 2020-01-30 07:55:01 -04:00
parent 59a238b3c7
commit 012264d3ba

View file

@ -316,11 +316,6 @@ const onIncomingMessages = (cb, userPK, incomingFeedID, gun, user, SEA) => {
*/
let currentOutgoings = {}
/**
* @type {Outgoings}
*/
let encryptedOutgoings = {}
/** @type {Set<OutgoingsListener>} */
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 => {