Files: 8261134eb7daa7f16ad7f83ebb1549e60b37b70d / plugs / message_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