Bug fixes

This commit is contained in:
emad-salah 2021-04-21 21:23:22 +00:00
parent e0310f13ca
commit 45ccd627b5

View file

@ -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 })