git ssb

1+

mixmix / scuttle-book



Tree: e9238520ce96e4b6ad803bf181a65eb9d888feb4

Files: e9238520ce96e4b6ad803bf181a65eb9d888feb4 / async / comment.js

320 bytesRaw
1module.exports = function (server) {
2 return function (id, text, cb) {
3 // lookup the book and existing messages attached (just comments?)
4 // calculate the correct branch (using ssb-sort ?)
5
6 // create a correctly formed message
7 // publish it
8 // callback with the error / newly created message
9 }
10}
11
12

Built with git-ssb-web