git ssb

0+

Dominic / yap-gatherings



Tree: c10d83fd944362efc0d54d087976db89b74d48bc

Files: c10d83fd944362efc0d54d087976db89b74d48bc / index.js

445 bytesRaw
1
2module.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