git ssb

7+

dinoworm 🐛 / patchcore



Commit 9c66b3b31a7c7c56252286439a7851d9caf7a06a

remove opts for ssbClient

the consturcted opts is basically just a copy of config.
it also copies the shs caps / appKey around, breaking against
ssb-client@4.5.4
Henry committed on 2/10/2018, 5:45:24 PM
Parent: f379402d0c78ad0469d94960abe197a33f6e54c5

Files changed

sbot.jschanged
sbot.jsView
@@ -61,19 +61,9 @@
6161 function notify (value) {
6262 isConn(value); connectionStatus.set(value)
6363 }
6464
65- var opts = {
66- path: config.path,
67- remote: config.remote,
68- host: config.host,
69- port: config.port,
70- key: config.key,
71- appKey: config.caps.shs,
72- timers: config.timers
73- }
74-
75- createClient(keys, opts, function (err, _sbot) {
65 + createClient(keys, config, function (err, _sbot) {
7666 if (err) {
7767 return notify(err)
7868 }
7969

Built with git-ssb-web