modules/private.jsView |
---|
28 | 28 | exports.screen_view = function (path) { |
29 | 29 | |
30 | 30 | if(path === '/private') { |
31 | 31 | 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.')) |
33 | 33 | |
34 | 34 | |
35 | 35 | var id = null |
36 | 36 | sbot_whoami(function (err, me) { |
43 | 43 | msg.recps = [id].concat(msg.mentions).filter(function (e) { |
44 | 44 | return ref.isFeed('string' === typeof e ? e : e.link) |
45 | 45 | }) |
46 | 46 | 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') |
48 | 48 | return msg |
49 | 49 | }) |
50 | 50 | |
51 | 51 | var content = h('div.column.scroller__content') |