Commit 55731c39cc9ef4ef04404e38f698e269de6e3d6c
Show unfollow
Anders Rune Jensen committed on 4/21/2017, 7:27:24 PMParent: a9e06b4bb4998dd8d49719b457f4ac031dcc44c8
Files changed
index.js | changed |
index.js | ||
---|---|---|
@@ -595,8 +595,14 @@ | ||
595 | 595 … | if (typeof c.contactAbout != 'undefined') |
596 | 596 … | name = c.contactAbout.name |
597 | 597 … | return ' followed <a href="/' + c.contact + '">' + name + "</a>" |
598 | 598 … | } |
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 … | + } | |
599 | 605 … | else if (typeof c == 'string') |
600 | 606 … | return ' wrote something private ' |
601 | 607 … | else if (c.type == 'about') |
602 | 608 … | return ' changed something in about' |
Built with git-ssb-web