From 55731c39cc9ef4ef04404e38f698e269de6e3d6c Mon Sep 17 00:00:00 2001 From: Anders Rune Jensen Date: Fri, 21 Apr 2017 21:27:24 +0200 Subject: [PATCH] Show unfollow --- index.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/index.js b/index.js index 6176a50..72f2eb4 100644 --- a/index.js +++ b/index.js @@ -596,6 +596,12 @@ function render(opts, c) name = c.contactAbout.name return ' followed ' + name + "" } + else if (c.type == 'contact' && !c.following) { + var name = c.contact + if (typeof c.contactAbout != 'undefined') + name = c.contactAbout.name + return ' unfollowed ' + name + "" + } else if (typeof c == 'string') return ' wrote something private ' else if (c.type == 'about')