diff options
-rw-r--r-- | lib/render-msg.js | 2 | ||||
-rw-r--r-- | lib/serve.js | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/render-msg.js b/lib/render-msg.js index dfface0..cc85190 100644 --- a/lib/render-msg.js +++ b/lib/render-msg.js @@ -135,7 +135,7 @@ RenderMsg.prototype.wrap = function (content, cb) { ), h('td.msg-main', h('div.msg-header', - date ? [h('a.ssb-timestamp', { + date && !this.serve.noMsgTime ? [h('a.ssb-timestamp', { title: date.toLocaleString(), href: this.msg.key ? this.toUrl(this.msg.key) : undefined }, htime(date)), ' '] : '', diff --git a/lib/serve.js b/lib/serve.js index afe494e..f7c2491 100644 --- a/lib/serve.js +++ b/lib/serve.js @@ -400,6 +400,7 @@ Serve.prototype.handle = function () { this.noComposer = true this.noActions = true this.noAvatar = true + this.noMsgTime = true } if (this.query.noThread != null) { this.noThread = true |