unused code
This commit is contained in:
parent
59a238b3c7
commit
012264d3ba
1 changed files with 0 additions and 6 deletions
|
|
@ -316,11 +316,6 @@ const onIncomingMessages = (cb, userPK, incomingFeedID, gun, user, SEA) => {
|
||||||
*/
|
*/
|
||||||
let currentOutgoings = {}
|
let currentOutgoings = {}
|
||||||
|
|
||||||
/**
|
|
||||||
* @type {Outgoings}
|
|
||||||
*/
|
|
||||||
let encryptedOutgoings = {}
|
|
||||||
|
|
||||||
/** @type {Set<OutgoingsListener>} */
|
/** @type {Set<OutgoingsListener>} */
|
||||||
const outgoingsListeners = new Set()
|
const outgoingsListeners = new Set()
|
||||||
|
|
||||||
|
|
@ -344,7 +339,6 @@ const onOutgoing = cb => {
|
||||||
if (lastUserWithListener !== currentUser) {
|
if (lastUserWithListener !== currentUser) {
|
||||||
// in case user changed gun alias
|
// in case user changed gun alias
|
||||||
currentOutgoings = {}
|
currentOutgoings = {}
|
||||||
encryptedOutgoings = {}
|
|
||||||
lastUserWithListener = currentUser
|
lastUserWithListener = currentUser
|
||||||
|
|
||||||
currentUser.get(Key.OUTGOINGS).open(async data => {
|
currentUser.get(Key.OUTGOINGS).open(async data => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue