git ssb

1+

mixmix / scuttle-book



Tree: ca816818ec9f749ff0cd2d1fcacc082af7bf6574

Files: ca816818ec9f749ff0cd2d1fcacc082af7bf6574 / async / comment.js

320 bytesRaw
1module.exports = function (client) {
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