Files: 37d41ff61b662f01ec14293463dbe5afff14adf0 / index.js
445 bytesRaw
1 | |
2 | module.exports = function (sbot) { |
3 | return function (use) { |
4 | console.log("GROUP") |
5 | use('event', function (opts, apply, req) { |
6 | opts.id = opts.id || "%eFzw9Qca1MUppBgyGG0e2AwzlwonvwDk2GDyxM9B37c=.sha256" |
7 | return function (cb) { |
8 | require('./get')(sbot, opts, function (err, thread) { |
9 | cb(null, require('./render')(apply, thread)) |
10 | }) |
11 | } |
12 | }) |
13 | use.map('messages', 'gathering', 'event') |
14 | } |
15 | } |
16 | |
17 | |
18 | |
19 | |
20 | |
21 |
Built with git-ssb-web