git ssb

16+

Dominic / patchbay



Commit f24b9c5af6a4bcd486a54c3cba05ef6051a26c55

Merge branch 'master' of github.com:ssbc/patchbay

mix irving committed on 6/14/2018, 11:28:49 PM
Parent: 0173c48b79cbde1e8ac112225fce0958e72331a7
Parent: ea35fa0e272078223d53e25b34e33730e0c77a12

Files changed

main.jschanged
message/html/compose.jschanged
main.jsView
@@ -43,10 +43,10 @@
4343 require('patchbay-gatherings'),
4444 require('patchbay-book'),
4545 // require('patch-network),
4646 patchbay,
47- post,
48- require('patchcore')
47 + require('patchcore'),
48 + post
4949 )
5050
5151 const api = entry(sockets, nest('app.html.app', 'first'))
5252 const app = api.app.html.app
message/html/compose.jsView
@@ -130,9 +130,9 @@
130130 }, { private: isPrivate, removeExif: api.settings.obs.get('patchbay.removeExif', true) })
131131
132132 fileInput.onclick = () => hasContent.set(true)
133133
134- var publishBtn = h('button', { 'ev-click': publish }, 'Publish')
134 + var publishBtn = h('button', { 'ev-click': publish }, isPrivate ? 'Reply' : 'Publish')
135135
136136 var actions = h('section.actions', [
137137 fileInput,
138138 publishBtn
@@ -164,9 +164,9 @@
164164 }
165165
166166 addSuggest(channelInput, (inputText, cb) => {
167167 if (inputText[0] === '#') {
168- cb(null, api.channel.async.suggest(inputText.slice(1)))
168 + api.channel.async.suggest(inputText.slice(1), cb)
169169 }
170170 }, {cls: 'PatchSuggest'})
171171 channelInput.addEventListener('suggestselect', ev => {
172172 channelInput.value = ev.detail.id // HACK : this over-rides the markdown value

Built with git-ssb-web