Commit 643bab9db6b1262b4a735b2ee95447c1bab835f3
Adds in reason to position
Piet Geursen committed on 3/5/2018, 1:51:09 AMParent: 6f75b9c2b31ad974cd9a2752fd0446706282bfbe
Files changed
position/sync/position.js | changed |
position/sync/position.js | ||
---|---|---|
@@ -1,8 +1,8 @@ | ||
1 | 1 | // var { link } = require('ssb-msg-schemas/util') |
2 | 2 | |
3 | 3 | function Position ({ positionDetails, reason, body, channel, recps, mentions }) { |
4 | - var content = { type: 'position', positionDetails } | |
4 | + var content = { type: 'position', positionDetails, reason } | |
5 | 5 | |
6 | 6 | if (body) content.body = body |
7 | 7 | |
8 | 8 | // if (root) { |
Built with git-ssb-web