Deprecate onOutgoings

This commit is contained in:
Daniel Lugo 2021-06-10 16:08:15 -04:00
parent d95620096a
commit 79e569c322
2 changed files with 2 additions and 2 deletions

View file

@ -395,7 +395,7 @@ const authenticate = async (alias, pass, __user) => {
API.Jobs.lastSeenNode(_user) API.Jobs.lastSeenNode(_user)
API.Events.onCurrentHandshakeAddress(() => {}, user)() API.Events.onCurrentHandshakeAddress(() => {}, user)()
API.Events.onOutgoing(() => {})() // API.Events.onOutgoing(() => {})()
API.Events.onSeedBackup(() => {}, user, mySEA) API.Events.onSeedBackup(() => {}, user, mySEA)
return _user._.sea.pub return _user._.sea.pub

View file

@ -404,7 +404,7 @@ const onChats = cb => {
if (!onChatsSubbed) { if (!onChatsSubbed) {
const Streams = require('../streams') const Streams = require('../streams')
onOutgoing(processChats) // onOutgoing(processChats)
Streams.onPubToFeed(processChats) Streams.onPubToFeed(processChats)
onChatsSubbed = true onChatsSubbed = true
} }