git ssb

4+

Dominic / scuttlebot



Commit 5efe9536fe8e1c2ae6732d4b1b9dc07ef427c69e

plugins/friends: only allow feeds as friends (not messages)

Matt McKegg committed on 10/5/2016, 10:09:42 AM
Parent: 40a02777b9360201097c3e7114cb14f34e03a4ad

Files changed

plugins/friends.jschanged
plugins/friends.jsView
@@ -47,9 +47,9 @@
4747 }
4848
4949 var c = msg.value.content
5050 if (c.type == 'contact') {
51- mlib.asLinks(c.contact).forEach(function (link) {
51 + mlib.asLinks(c.contact, 'feed').forEach(function (link) {
5252 if ('following' in c) {
5353 if (c.following)
5454 graphs.follow.edge(msg.value.author, link.link, true)
5555 else

Built with git-ssb-web