aboutsummaryrefslogtreecommitdiff
path: root/lib/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/app.js')
-rw-r--r--lib/app.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/app.js b/lib/app.js
index a76687c..8a74dbb 100644
--- a/lib/app.js
+++ b/lib/app.js
@@ -270,6 +270,9 @@ App.prototype.streamChannels = function (opts) {
return pull(
this.sbot.messagesByType({type: 'channel', reverse: true}),
this.unboxMessages(),
+ pull.filter(function (msg) {
+ return msg.value.content.subscribed
+ }),
pull.map(function (msg) {
return msg.value.content.channel
}),