aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2018-08-12 16:49:13 -0700
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2018-08-12 16:49:13 -0700
commit151b874555bc8a196a359921f7e4ea7558e277f6 (patch)
tree2d56efaec8731ffa795914b9ec17f64767826303 /lib
parent31301646eb23b3edcc23cb3cb8980ed451b0c108 (diff)
downloadpatchfoo-151b874555bc8a196a359921f7e4ea7558e277f6.tar.gz
patchfoo-151b874555bc8a196a359921f7e4ea7558e277f6.zip
Reply in private to undecryptable message
Diffstat (limited to 'lib')
-rw-r--r--lib/serve.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/serve.js b/lib/serve.js
index db30896..e059f54 100644
--- a/lib/serve.js
+++ b/lib/serve.js
@@ -1079,7 +1079,7 @@ Serve.prototype.streamThreadWithComposer = function (opts) {
}
var rootContent = rootMsg && rootMsg.value && rootMsg.value.content
var recps = rootContent && rootContent.recps
- || (rootMsg.value.private
+ || ((rootMsg.value.private || typeof rootMsg.value.content === 'string')
? [rootMsg.value.author, self.app.sbot.id].filter(uniques())
: undefined)
var threadRootId = rootContent && rootContent.root || id