git ssb

2+

cel / scuttlebot.io



Commit 404d138845253f2aee74e3c0032fd9273c8762f9

Document multiple branch values in posts

cel committed on 5/20/2017, 5:21:41 AM
Parent: 947fa9954fde20423b6f7710c2a817a8a620a293

Files changed

tmpl/docs/message-types/post.mdchanged
tmpl/docs/message-types/post.mdView
@@ -10,9 +10,9 @@
1010 type: 'post',
1111 text: String,
1212 channel: String?,
1313 root: MsgLink?,
14- branch: MsgLink?,
14 + branch: MsgLink? | MsgLinks?,
1515 recps: FeedLinks?,
1616 mentions: Links?
1717 }
1818 ```
@@ -30,9 +30,9 @@
3030 ### Root and branch
3131
3232 `root` and `branch` are for replies.
3333 `root` should point to the topmost message in the thread.
34-`branch` should point to the message in the thread which is being replied to.
34 +`branch` should point to the message or set of messages in the thread which is being replied to.
3535
3636 In the first reply of a thread, `root === branch`, and both should be included.
3737 `root` and `branch` should only point to `type: post` messages.
3838 If the post is about another message-type, use `mentions`.

Built with git-ssb-web