git ssb

9+

cel / ssb-viewer



Commit 55731c39cc9ef4ef04404e38f698e269de6e3d6c

Show unfollow

Anders Rune Jensen committed on 4/21/2017, 7:27:24 PM
Parent: a9e06b4bb4998dd8d49719b457f4ac031dcc44c8

Files changed

index.jschanged
index.jsView
@@ -595,8 +595,14 @@
595595 if (typeof c.contactAbout != 'undefined')
596596 name = c.contactAbout.name
597597 return ' followed <a href="/' + c.contact + '">' + name + "</a>"
598598 }
599 + else if (c.type == 'contact' && !c.following) {
600 + var name = c.contact
601 + if (typeof c.contactAbout != 'undefined')
602 + name = c.contactAbout.name
603 + return ' unfollowed <a href="/' + c.contact + '">' + name + "</a>"
604 + }
599605 else if (typeof c == 'string')
600606 return ' wrote something private '
601607 else if (c.type == 'about')
602608 return ' changed something in about'

Built with git-ssb-web