From 495ec356558e13392648ca382ecfa667f77158fc Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Tue, 8 Jun 2021 14:10:35 -0400 Subject: [PATCH] No longer spin up chat-related jobs at login --- services/gunDB/Mediator/index.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/services/gunDB/Mediator/index.js b/services/gunDB/Mediator/index.js index 10174e58..6b130d91 100644 --- a/services/gunDB/Mediator/index.js +++ b/services/gunDB/Mediator/index.js @@ -375,16 +375,12 @@ const authenticate = async (alias, pass, __user) => { })) // move this to a subscription; implement off() ? todo - API.Jobs.onAcceptedRequests(_user, mySEA) API.Jobs.onOrders(_user, gun, mySEA) API.Jobs.lastSeenNode(_user) - API.Events.onChats(() => {})() API.Events.onCurrentHandshakeAddress(() => {}, user)() API.Events.onOutgoing(() => {})() API.Events.onSeedBackup(() => {}, user, mySEA) - API.Events.onSimplerReceivedRequests(() => {})() - API.Events.onSimplerSentRequests(() => {})() return _user._.sea.pub } @@ -429,17 +425,11 @@ const authenticate = async (alias, pass, __user) => { ) })) - API.Jobs.onAcceptedRequests(_user, mySEA) API.Jobs.onOrders(_user, gun, mySEA) API.Jobs.lastSeenNode(_user) - API.Events.onChats(() => {})() API.Events.onCurrentHandshakeAddress(() => {}, user)() - - API.Events.onOutgoing(() => {})() API.Events.onSeedBackup(() => {}, user, mySEA) - API.Events.onSimplerReceivedRequests(() => {})() - API.Events.onSimplerSentRequests(() => {})() return ack.sea.pub } else {