Fix handling channel unsubscription
This commit is contained in:
@@ -148,7 +148,7 @@ exports.init = function (sbot, config) {
|
|||||||
if (msg.value.content.subscribed)
|
if (msg.value.content.subscribed)
|
||||||
channelSubscriptions[msg.value.content.channel] = 1
|
channelSubscriptions[msg.value.content.channel] = 1
|
||||||
else
|
else
|
||||||
delete following[msg.value.content.channel]
|
delete channelSubscriptions[msg.value.content.channel]
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user