Show unfollow
This commit is contained in:
@@ -596,6 +596,12 @@ function render(opts, c)
|
|||||||
name = c.contactAbout.name
|
name = c.contactAbout.name
|
||||||
return ' followed <a href="/' + c.contact + '">' + name + "</a>"
|
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')
|
else if (typeof c == 'string')
|
||||||
return ' wrote something private '
|
return ' wrote something private '
|
||||||
else if (c.type == 'about')
|
else if (c.type == 'about')
|
||||||
|
|||||||
Reference in New Issue
Block a user