aboutsummaryrefslogtreecommitdiff
path: root/lib/app.js
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-05-02 14:14:23 -1000
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-05-02 14:14:23 -1000
commitbd9fdd3d21b5bad6f5e1d11a7196b899c8bcff05 (patch)
tree2f1ef660a6516f55a791ed3acc8cfe8daa1b329e /lib/app.js
parentcd96cd050a4a7f6b65f684c05b3c56915254e069 (diff)
downloadpatchfoo-bd9fdd3d21b5bad6f5e1d11a7196b899c8bcff05.tar.gz
patchfoo-bd9fdd3d21b5bad6f5e1d11a7196b899c8bcff05.zip
Show undecryptable thread root
Diffstat (limited to 'lib/app.js')
-rw-r--r--lib/app.js10
1 files changed, 1 insertions, 9 deletions
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) {