git ssb

16+

Dominic / patchbay



Commit ae00eb7faf88f143a241e7dc3f0bfb6d6c6a55a3

fix ssb-mutual bug

mix irving committed on 9/4/2017, 10:07:31 PM
Parent: a32527dad991ff7ed922f6452c9d20e532a1e5a8

Files changed

about/html/edit.jschanged
about/html/edit.jsView
@@ -25,8 +25,9 @@
2525 'message.html.confirm': 'first',
2626 'message.html.markdown': 'first',
2727 sbot: {
2828 'async.addBlob': 'first',
29 + 'obs.connection': 'first',
2930 'pull.links': 'first'
3031 }
3132 })
3233
@@ -36,9 +37,10 @@
3637 })
3738
3839 // TODO refactor this to use obs better
3940 function edit (id) {
40- var mutual = Mutual.init(api.sbot)
41 + // TODO - get this to wait till the connection is present !
42 + var mutual = Mutual.init(api.sbot.obs.connection())
4143
4244 var avatar = Struct({
4345 current: api.about.obs.imageUrl(id),
4446 new: MutantObject()

Built with git-ssb-web