git ssb

0+

alanz / patchwork



forked from Matt McKegg / patchwork

Commit bc8a6a0724c1be92a17b4d3eaeeadc5c756aca4e

add tip about creating new channels to "channel" compose box

Matt McKegg committed on 11/4/2016, 9:23:51 PM
Parent: 4c3279a881a3983b1e7b4f4bc960633975fe77d6

Files changed

modules/channel.jschanged
modules/channel.jsView
@@ -1,14 +1,12 @@
11 var when = require('@mmckegg/mutant/when')
22 var send = require('@mmckegg/mutant/send')
33 var plugs = require('patchbay/plugs')
4-var extend = require('xtend')
54 var message_compose = plugs.first(exports.message_compose = [])
65 var sbot_log = plugs.first(exports.sbot_log = [])
76 var feed_summary = plugs.first(exports.feed_summary = [])
87 var h = require('../lib/h')
98 var pull = require('pull-stream')
10-var sbot_query = plugs.first(exports.sbot_query = [])
119 var obs_subscribed_channels = plugs.first(exports.obs_subscribed_channels = [])
1210 var get_id = plugs.first(exports.get_id = [])
1311 var publish = plugs.first(exports.sbot_publish = [])
1412
@@ -38,9 +36,9 @@
3836 }, 'Subscribe')
3937 )
4038 ])
4139 ]),
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'})
4341 ])
4442 }
4543
4644 // scoped

Built with git-ssb-web