From f4df0f3db34f03cb48c9b02771de7a4d2ac7af0b Mon Sep 17 00:00:00 2001 From: cel Date: Tue, 6 Oct 2020 20:52:42 -0400 Subject: Hide relative time of mini messages in print view --- lib/render-msg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/render-msg.js b/lib/render-msg.js index c39825d..021d817 100644 --- a/lib/render-msg.js +++ b/lib/render-msg.js @@ -176,7 +176,7 @@ RenderMsg.prototype.wrapMini = function (content, cb) { this.recpsLine(done()), channel ? [h('a', {href: this.toUrl(channel)}, channel), ' '] : ''), h('td.msg-main', - this.date ? [h('a.ssb-timestamp', { + this.date && !this.serve.noMsgTime ? [h('a.ssb-timestamp', { title: this.date.toLocaleString(), href: this.msg.key ? this.toUrl(this.msg.key) : undefined }, htime(this.date)), ' '] : '', -- cgit v1.2.3