Commit 1253a399464b2bc0274bac6368670c17c3cca16d
autofollow, depends on patchcore#29
Dominic Tarr committed on 8/16/2017, 9:23:03 AMParent: 6a83e79b4f03d4de17ec9cb6ac84f25423f5ac0a
Files changed
main.js | changed |
main.js | ||
---|---|---|
@@ -26,12 +26,23 @@ | ||
26 | 26 | // require('patch-history'), |
27 | 27 | require('patchcore') |
28 | 28 | ) |
29 | 29 | |
30 | -const api = entry(sockets, nest('app.html.app', 'first')) | |
30 | +const api = entry(sockets, nest({ | |
31 | + 'app.html.app': 'first', | |
32 | + 'invite.async.autofollow': 'first' | |
33 | +})) | |
31 | 34 | |
32 | 35 | document.body.appendChild(api.app.html.app()) |
33 | 36 | |
37 | +api.invite.async.autofollow( | |
38 | + 'wx.larpa.net:8008:@DTNmX+4SjsgZ7xyDh5xxmNtFqa6pWi5Qtw7cE8aR9TQ=.ed25519~YIRnryeLBhtBa2il9fCWDlAIFWR37Uh63Vep0L6tk6c=', | |
39 | + function (err, follows) { | |
40 | + console.log('autofollowed', err, follows); | |
41 | +}) | |
34 | 42 | |
35 | 43 | |
36 | 44 | |
37 | 45 | |
46 | + | |
47 | + | |
48 | + |
Built with git-ssb-web