git ssb

9+

cel / ssb-viewer



Commit 4cfbba635d8d159f21cb7f2ceb4074d6142da7c5

Fix handling channel unsubscription

cel committed on 5/12/2017, 10:29:05 PM
Parent: efdeaa0a623ee9b7e7a4d700a02f61921260e575

Files changed

index.jschanged
index.jsView
@@ -147,9 +147,9 @@
147147 {
148148 if (msg.value.content.subscribed)
149149 channelSubscriptions[msg.value.content.channel] = 1
150150 else
151- delete following[msg.value.content.channel]
151 + delete channelSubscriptions[msg.value.content.channel]
152152 }
153153 })
154154
155155 serveFeeds(req, res, following, channelSubscriptions, feedId, 'user feed ' + about.name)

Built with git-ssb-web