aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/serve.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/serve.js b/lib/serve.js
index 47bc7c2..e86de59 100644
--- a/lib/serve.js
+++ b/lib/serve.js
@@ -1015,6 +1015,9 @@ Serve.prototype.id = function (id, path) {
if (err) return self.respond(500, err.stack || err)
var rootContent = rootMsg && rootMsg.value && rootMsg.value.content
var recps = rootContent && rootContent.recps
+ || (rootMsg.value.private ?
+ ? [rootMsg.value.author, self.app.sbot.id].filter(uniques())
+ : undefined)
var threadRootId = rootContent && rootContent.root || id
var channel