Commit 456cb2f76b87d671597f92551d4983898b2190b1
Merge branch 'master' of https://github.com/gwenbell/patchbay
Dominic Tarr committed on 7/21/2016, 5:04:29 AMParent: a7ef3c501253ab660f08e0fe26bb9360e16f6d6a
Parent: fe033cc24951324c4778e7703e97045acde225f5
Files changed
modules/compose.js | changed |
modules/private.js | changed |
style.css | changed |
modules/compose.js | ||
---|---|---|
@@ -84,9 +84,9 @@ | ||
84 | 84 | var embed = file.type.indexOf('image/') === 0 ? '!' : '' |
85 | 85 | ta.value += embed + '['+file.name+']('+file.link+')' |
86 | 86 | console.log('added:', file) |
87 | 87 | }), |
88 | - h('button', 'publish', {onclick: publish})) | |
88 | + h('button', 'Publish', {onclick: publish})) | |
89 | 89 | ) |
90 | 90 | ) |
91 | 91 | |
92 | 92 | suggest(ta, function (word, cb) { |
modules/private.js | ||
---|---|---|
@@ -27,9 +27,9 @@ | ||
27 | 27 | exports.screen_view = function (path) { |
28 | 28 | |
29 | 29 | if(path === '/private') { |
30 | 30 | if(process.title === 'browser') |
31 | - return h('div', h('h1', 'private messages not currently supported')) | |
31 | + return h('div', h('h4', 'Private messages are not supported in the lite client.')) | |
32 | 32 | |
33 | 33 | |
34 | 34 | var id = require('../keys').id |
35 | 35 | var compose = message_compose( |
@@ -38,9 +38,9 @@ | ||
38 | 38 | msg.recps = [id].concat(msg.mentions).filter(function (e) { |
39 | 39 | return ref.isFeed('string' === typeof e ? e : e.link) |
40 | 40 | }) |
41 | 41 | if(!msg.recps.length) |
42 | - throw new Error('cannot make private message without recipients - just mention them in the message') | |
42 | + throw new Error('cannot make private message without recipients - just mention the user in an at reply in the message you send') | |
43 | 43 | return msg |
44 | 44 | }) |
45 | 45 | |
46 | 46 | var content = h('div.column.scroller__content') |
Built with git-ssb-web