aboutsummaryrefslogtreecommitdiff
path: root/lib/serve.js
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-11-27 15:22:39 -0800
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-11-27 15:22:39 -0800
commit9898ecb4b08704b162719cac5810ce095a96b545 (patch)
tree8c090618a4e09b05a54282e7a1527cb63682d5bf /lib/serve.js
parent9fb7439fdc58c506b0f6281b47448336512e12dc (diff)
downloadpatchfoo-9898ecb4b08704b162719cac5810ce095a96b545.tar.gz
patchfoo-9898ecb4b08704b162719cac5810ce095a96b545.zip
Fix typo
Diffstat (limited to 'lib/serve.js')
-rw-r--r--lib/serve.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/serve.js b/lib/serve.js
index e86de59..5b6aeff 100644
--- a/lib/serve.js
+++ b/lib/serve.js
@@ -1015,7 +1015,7 @@ 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.private
? [rootMsg.value.author, self.app.sbot.id].filter(uniques())
: undefined)
var threadRootId = rootContent && rootContent.root || id