From bd9fdd3d21b5bad6f5e1d11a7196b899c8bcff05 Mon Sep 17 00:00:00 2001 From: cel Date: Tue, 2 May 2017 14:14:23 -1000 Subject: Show undecryptable thread root --- lib/app.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'lib/app.js') diff --git a/lib/app.js b/lib/app.js index 6653c1d..d20b2b5 100644 --- a/lib/app.js +++ b/lib/app.js @@ -15,11 +15,6 @@ var Render = require('./render') module.exports = App -function isMsgReadable(msg) { - var c = msg && msg.value && msg.value.content - return typeof c === 'object' && c !== null -} - function App(sbot, config) { this.sbot = sbot this.config = config @@ -268,10 +263,7 @@ App.prototype.getFollow = function (source, dest, cb) { } App.prototype.unboxMessages = function () { - return pull( - paramap(this.unboxMsg, 16), - pull.filter(isMsgReadable) - ) + return paramap(this.unboxMsg, 16) } App.prototype.streamChannels = function (opts) { -- cgit v1.2.3