From 45ccd627b5d8627b0e9cf01d67ea63b1794dcec7 Mon Sep 17 00:00:00 2001 From: emad-salah Date: Wed, 21 Apr 2021 21:23:22 +0000 Subject: [PATCH] Bug fixes --- services/gunDB/sockets/index.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/services/gunDB/sockets/index.js b/services/gunDB/sockets/index.js index 10f715e6..f1d24708 100644 --- a/services/gunDB/sockets/index.js +++ b/services/gunDB/sockets/index.js @@ -15,7 +15,6 @@ const { encryptedOn, encryptedCallback } = require('../../../utils/ECC/socket') -const TipsForwarder = require('../../tipsCallback') const auth = require('../../auth/auth') const ALLOWED_GUN_METHODS = [ @@ -388,10 +387,6 @@ const startSocket = socket => { }) ) - on('streams:postID', postID => { - TipsForwarder.addSocket(postID, socket) - }) - on('unsubscribe', ({ subscriptionId }, response) => { const callback = encryptedCallback(socket, response) Subscriptions.remove({ deviceId: encryptionId, subscriptionId })