aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-04-23 10:52:48 -1000
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-04-23 10:52:48 -1000
commit5c2420033d0a8b85a07f847189dedbc0e800390a (patch)
tree6d48d41b1423a191d7105865f513e9d47ab75466
parentb10ac9b8770ce0df97257cd9df9cc27e856a2af1 (diff)
downloadpatchfoo-5c2420033d0a8b85a07f847189dedbc0e800390a.tar.gz
patchfoo-5c2420033d0a8b85a07f847189dedbc0e800390a.zip
Render contact flag message
-rw-r--r--lib/render-msg.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/render-msg.js b/lib/render-msg.js
index 6ae36b5..b91659a 100644
--- a/lib/render-msg.js
+++ b/lib/render-msg.js
@@ -386,8 +386,10 @@ RenderMsg.prototype.contact = function (cb) {
self.c.following && self.c.pub ? 'autofollows' :
self.c.following ? 'follows' :
self.c.blocking ? 'blocks' :
+ self.c.flagged ? 'flagged' :
self.c.following === false ? 'unfollows' :
self.c.blocking === false ? 'unblocks' : '',
+ self.c.flagged === false ? 'unflagged' :
' ', a,
self.c.note ? [
' from ',