aboutsummaryrefslogtreecommitdiff
path: root/lib/render.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/render.js')
-rw-r--r--lib/render.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/render.js b/lib/render.js
index df5d1c6..680ba39 100644
--- a/lib/render.js
+++ b/lib/render.js
@@ -372,11 +372,13 @@ Render.prototype.idLinkCopyable = function (link, cb) {
return a
}
-Render.prototype.privateLine = function (recps, isAuthorRecp, cb) {
+Render.prototype.privateLine = function (opts, cb) {
+ var recps = opts.recps
+ var isAuthorRecp = opts.isAuthorRecp
var done = multicb({pluck: 1, spread: true})
var self = this
var el = h('div.recps',
- self.lockIcon(),
+ opts.noLockIcon ? '' : self.lockIcon(),
!isAuthorRecp ? [
h('span', {title: 'Author is not a recipient'}, '[!]'), ' '
] : '',