Commit bc8a6a0724c1be92a17b4d3eaeeadc5c756aca4e
add tip about creating new channels to "channel" compose box
Matt McKegg committed on 11/4/2016, 9:23:51 PMParent: 4c3279a881a3983b1e7b4f4bc960633975fe77d6
Files changed
modules/channel.js | changed |
modules/channel.js | ||
---|---|---|
@@ -1,14 +1,12 @@ | ||
1 | 1 … | var when = require('@mmckegg/mutant/when') |
2 | 2 … | var send = require('@mmckegg/mutant/send') |
3 | 3 … | var plugs = require('patchbay/plugs') |
4 | -var extend = require('xtend') | |
5 | 4 … | var message_compose = plugs.first(exports.message_compose = []) |
6 | 5 … | var sbot_log = plugs.first(exports.sbot_log = []) |
7 | 6 … | var feed_summary = plugs.first(exports.feed_summary = []) |
8 | 7 … | var h = require('../lib/h') |
9 | 8 … | var pull = require('pull-stream') |
10 | -var sbot_query = plugs.first(exports.sbot_query = []) | |
11 | 9 … | var obs_subscribed_channels = plugs.first(exports.obs_subscribed_channels = []) |
12 | 10 … | var get_id = plugs.first(exports.get_id = []) |
13 | 11 … | var publish = plugs.first(exports.sbot_publish = []) |
14 | 12 … | |
@@ -38,9 +36,9 @@ | ||
38 | 36 … | }, 'Subscribe') |
39 | 37 … | ) |
40 | 38 … | ]) |
41 | 39 … | ]), |
42 | - message_compose({type: 'post', channel: channel}, {placeholder: 'Write a message in this channel\n\n\nPeople who follow you or subscribe to this channel will also see this message in their main feed.'}) | |
40 … | + message_compose({type: 'post', channel: channel}, {placeholder: 'Write a message in this channel\n\n\n\nPeople who follow you or subscribe to this channel will also see this message in their main feed.\n\nTo create a new channel, type the channel name (preceded by a #) into the search box above. e.g #cat-pics'}) | |
43 | 41 … | ]) |
44 | 42 … | } |
45 | 43 … | |
46 | 44 … | // scoped |
Built with git-ssb-web