diff options
-rw-r--r-- | lib/render-msg.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/render-msg.js b/lib/render-msg.js index 021d817..76bcfad 100644 --- a/lib/render-msg.js +++ b/lib/render-msg.js @@ -718,6 +718,13 @@ RenderMsg.prototype.about = function (cb) { ], cb) } + if (keys === 'status' && this.c.status === 'revoked') { + return this.wrapMini([ + 'revoked ', + h('a', {href: this.toUrl(this.c.about)}, u.truncate(this.c.about, 10)) + ], cb) + } + var done = multicb({pluck: 1, spread: true}) var elCb = done() |