aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/render-msg.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/render-msg.js b/lib/render-msg.js
index 2d52c83..c5d4756 100644
--- a/lib/render-msg.js
+++ b/lib/render-msg.js
@@ -290,13 +290,17 @@ RenderMsg.prototype.post = function (cb) {
if (self.c.root === self.c.branch) done()()
else self.link(self.c.root, done())
self.links(self.c.branch, done())
- done(function (err, rootLink, branchLinks) {
+ self.links(self.c.fork, done())
+ done(function (err, rootLink, branchLinks, forkLinks) {
if (err) return self.wrap(u.renderError(err), cb)
self.wrap(h('div.ssb-post',
rootLink ? h('div', h('small', h('span.symbol', '→'), ' ', rootLink)) : '',
branchLinks.map(function (a, i) {
return h('div', h('small', h('span.symbol', '  ↳'), ' ', a))
}),
+ forkLinks.map(function (a, i) {
+ return h('div', h('small', h('span.symbol', '⑂'), ' ', a))
+ }),
h('div.ssb-post-text', {innerHTML: self.markdown()})
), cb)
})