aboutsummaryrefslogtreecommitdiff
path: root/lib/serve.js
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2018-08-12 16:50:47 -0700
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2018-08-12 16:50:47 -0700
commit2e87d6f2847b51ee3828ea6fe18df2ebaf4957d3 (patch)
treea975eed5bae115e650a512f7453e426c53fe6ba5 /lib/serve.js
parent151b874555bc8a196a359921f7e4ea7558e277f6 (diff)
downloadpatchfoo-2e87d6f2847b51ee3828ea6fe18df2ebaf4957d3.tar.gz
patchfoo-2e87d6f2847b51ee3828ea6fe18df2ebaf4957d3.zip
Show if private message author is not a recipient
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 e059f54..2eba468 100644
--- a/lib/serve.js
+++ b/lib/serve.js
@@ -3167,7 +3167,7 @@ Serve.prototype.composer = function (opts, cb) {
h('input', {type: 'hidden', name: 'blobs',
value: JSON.stringify(blobs)}),
h('input', {type: 'hidden', name: 'composer_id', value: opts.id}),
- opts.recps ? self.app.render.privateLine(opts.recps, done()) :
+ opts.recps ? self.app.render.privateLine(opts.recps, true, done()) :
opts.private ? h('div', h('input.recps-input', {name: 'recps',
value: data.recps || '', placeholder: 'recipient ids'})) : '',
channel != null ?