git ssb

2+

mixmix / ticktack



Commit 6a299d30ab8be23580551ca3eba6ee927e4790da

tidy up app/html/app

mix irving committed on 5/29/2018, 1:44:44 AM
Parent: 4aff4aca95f4ab571c23baeb7192f7516341f6fc

Files changed

app/html/app.jschanged
app/html/app.jsView
@@ -12,9 +12,8 @@
1212 'keys.sync.id': 'first',
1313 'router.sync.router': 'first',
1414 'settings.sync.get': 'first',
1515 'settings.sync.set': 'first',
16-
1716 'invite.async.autofollow': 'first',
1817 'config.sync.load': 'first',
1918 'sbot.async.friendsGet': 'first',
2019 'sbot.async.get': 'first'
@@ -85,10 +84,10 @@
8584 console.log('no invites')
8685 return
8786 }
8887
89- var self_id = api.config.sync.load().keys.id
90- api.sbot.async.friendsGet({dest: self_id}, function (err, friends) {
88+ var myKey = api.config.sync.load().keys.id
89+ api.sbot.async.friendsGet({dest: myKey}, function (err, friends) {
9190 // if you have less than 5 followers, maybe use the autoinvite
9291 if (Object.keys(friends).length <= 5) {
9392 invites.forEach(invite => {
9493 console.log('using invite:', invite)

Built with git-ssb-web