From b4baab7d6b401c182f31fb65b5d13c42e98fd4d4 Mon Sep 17 00:00:00 2001 From: cel Date: Thu, 6 Apr 2017 22:34:53 -0700 Subject: Render note for contact messages --- lib/render-msg.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/render-msg.js b/lib/render-msg.js index 3fd845d..9aee35c 100644 --- a/lib/render-msg.js +++ b/lib/render-msg.js @@ -364,7 +364,12 @@ RenderMsg.prototype.contact = function (cb) { self.c.blocking ? 'blocks' : self.c.following === false ? 'unfollows' : self.c.blocking === false ? 'unblocks' : '', - ' ', a], cb) + ' ', a, + self.c.note ? [ + ' from ', + h('code', self.c.note) + ] : '', + ], cb) }) } -- cgit v1.2.3