Files: c18b233c6d62741496978cd8dc1f34a093946f8b / message / html / meta / channel.js
234 bytesRaw
1 | const h = require('mutant/h') |
2 | |
3 | exports.gives = 'message_meta' |
4 | |
5 | exports.create = function (api) { |
6 | return function channel (msg) { |
7 | const { channel } = msg.value.content |
8 | if (channel) return h('span', {}, ['#' + channel]) |
9 | } |
10 | } |
11 |
Built with git-ssb-web