git ssb

2+

mixmix / ticktack



Commit 6a258256b9cc23d67fe4e1e7ea6662e263aa813d

log Autofollow result clearly

mix committed on 12/28/2017, 8:21:46 AM
Parent: 5027b2df2cae85be1d08a952d12046c5ff5a31d3

Files changed

app/html/app.jschanged
app/html/app.jsView
@@ -82,9 +82,12 @@
8282 //if you have less than 5 followers, maybe use the autoinvite
8383 if(Object.keys(friends).length <= 5)
8484 api.invite.async.autofollow(
8585 invite,
86- function (err, follows) { console.log('autofollowed', err, follows) }
86+ function (err, follows) {
87+ if (err) console.error('Autofollow error:', err)
88+ else console.log('Autofollow success', follows)
89+ }
8790 )
8891 else
8992 console.log('no autoinvite - you have friends already')
9093 })

Built with git-ssb-web