git ssb

16+

Dominic / patchbay



Commit 8ec3c173cbb66e5cd3c3866431ffd5883c151db2

make private messages not supported message easier to read, uppercase the word publish

Gwen committed on 7/21/2016, 2:12:29 AM
Parent: e740c644f51d51395e3a0836e584a41b8b786f18

Files changed

modules/compose.jschanged
modules/private.jschanged
modules/compose.jsView
@@ -84,9 +84,9 @@
8484 var embed = file.type.indexOf('image/') === 0 ? '!' : ''
8585 ta.value += embed + '['+file.name+']('+file.link+')'
8686 console.log('added:', file)
8787 }),
88- h('button', 'publish', {onclick: publish}))
88+ h('button', 'Publish', {onclick: publish}))
8989 )
9090 )
9191
9292 suggest(ta, function (word, cb) {
modules/private.jsView
@@ -28,9 +28,9 @@
2828 exports.screen_view = function (path) {
2929
3030 if(path === '/private') {
3131 if(process.title === 'browser')
32- return h('div', h('h1', 'private messages not currently supported'))
32+ return h('div', h('h4', 'Private messages are not supported in the lite client.'))
3333
3434
3535 var id = null
3636 sbot_whoami(function (err, me) {
@@ -43,9 +43,9 @@
4343 msg.recps = [id].concat(msg.mentions).filter(function (e) {
4444 return ref.isFeed('string' === typeof e ? e : e.link)
4545 })
4646 if(!msg.recps.length)
47- throw new Error('cannot make private message without recipients - just mention them in the message')
47+ throw new Error('cannot make private message without recipients - just mention the user in an at reply in the message you send')
4848 return msg
4949 })
5050
5151 var content = h('div.column.scroller__content')

Built with git-ssb-web