From 79e569c32254f6b4a2ebc3cfacd7a2f3c00d5afa Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Thu, 10 Jun 2021 16:08:15 -0400 Subject: [PATCH] Deprecate onOutgoings --- services/gunDB/Mediator/index.js | 2 +- services/gunDB/contact-api/events/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/services/gunDB/Mediator/index.js b/services/gunDB/Mediator/index.js index 29e4530e..66b2ed24 100644 --- a/services/gunDB/Mediator/index.js +++ b/services/gunDB/Mediator/index.js @@ -395,7 +395,7 @@ const authenticate = async (alias, pass, __user) => { API.Jobs.lastSeenNode(_user) API.Events.onCurrentHandshakeAddress(() => {}, user)() - API.Events.onOutgoing(() => {})() + // API.Events.onOutgoing(() => {})() API.Events.onSeedBackup(() => {}, user, mySEA) return _user._.sea.pub diff --git a/services/gunDB/contact-api/events/index.js b/services/gunDB/contact-api/events/index.js index 54e6725e..bd488978 100644 --- a/services/gunDB/contact-api/events/index.js +++ b/services/gunDB/contact-api/events/index.js @@ -404,7 +404,7 @@ const onChats = cb => { if (!onChatsSubbed) { const Streams = require('../streams') - onOutgoing(processChats) + // onOutgoing(processChats) Streams.onPubToFeed(processChats) onChatsSubbed = true }