Show unfollow

This commit is contained in:
Anders Rune Jensen
2017-04-21 21:27:24 +02:00
parent a9e06b4bb4
commit 55731c39cc
+6
View File
@@ -596,6 +596,12 @@ function render(opts, c)
name = c.contactAbout.name
return ' followed <a href="/' + c.contact + '">' + name + "</a>"
}
else if (c.type == 'contact' && !c.following) {
var name = c.contact
if (typeof c.contactAbout != 'undefined')
name = c.contactAbout.name
return ' unfollowed <a href="/' + c.contact + '">' + name + "</a>"
}
else if (typeof c == 'string')
return ' wrote something private '
else if (c.type == 'about')