diff options
Diffstat (limited to 'lib/render.js')
-rw-r--r-- | lib/render.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/render.js b/lib/render.js index a967ee4..0a20b10 100644 --- a/lib/render.js +++ b/lib/render.js @@ -307,11 +307,14 @@ Render.prototype.idLink = function (link, cb) { return a } -Render.prototype.privateLine = function (recps, cb) { +Render.prototype.privateLine = function (recps, isAuthorRecp, cb) { var done = multicb({pluck: 1, spread: true}) var self = this var el = h('div.recps', self.lockIcon(), + !isAuthorRecp ? [ + h('span', {title: 'Author is not a recipient'}, '[!]'), ' ' + ] : '', Array.isArray(recps) ? recps.map(function (recp) { return [' ', self.idLink(recp, done())] |