aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-04-06 22:34:53 -0700
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-04-08 20:15:45 -0700
commitb4baab7d6b401c182f31fb65b5d13c42e98fd4d4 (patch)
tree193150ec027cb5316f3515e94421bc8f9f253eed
parent1829a67120b0a82dfe130e5c5215475c8ac74d9f (diff)
downloadpatchfoo-b4baab7d6b401c182f31fb65b5d13c42e98fd4d4.tar.gz
patchfoo-b4baab7d6b401c182f31fb65b5d13c42e98fd4d4.zip
Render note for contact messages
-rw-r--r--lib/render-msg.js7
1 files changed, 6 insertions, 1 deletions
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)
})
}