Commit 8478e326670e34cff42f95e6e5cc2fe2fc5d996e
/thread : teach thread to render about message links well
mixmix committed on 10/10/2018, 9:20:11 PMParent: ff22ecb5f91b9cb85bbe7039f533e92af2def543
Files changed
app/page/thread.js | changed |
app/page/thread.js | |||
---|---|---|---|
@@ -22,9 +22,9 @@ | |||
22 | 22 … | exports.create = function (api) { | |
23 | 23 … | return nest('app.page.thread', threadPage) | |
24 | 24 … | ||
25 | 25 … | function threadPage (location) { | |
26 | - const root = get(location, 'value.content.root', location.key) | ||
26 … | + const root = get(location, 'value.content.root') || get(location, 'value.content.about') || location.key | ||
27 | 27 … | const msg = location.key | |
28 | 28 … | if (msg !== root) scrollDownToMessage(msg) | |
29 | 29 … | ||
30 | 30 … | const { messages, isPrivate, rootId, lastId, channel, recps } = api.feed.obs.thread(root) | |
Built with git-ssb-web