git ssb

16+

Dominic / patchbay



Commit 8478e326670e34cff42f95e6e5cc2fe2fc5d996e

/thread : teach thread to render about message links well

mixmix committed on 10/10/2018, 9:20:11 PM
Parent: ff22ecb5f91b9cb85bbe7039f533e92af2def543

Files changed

app/page/thread.jschanged
app/page/thread.jsView
@@ -22,9 +22,9 @@
2222 exports.create = function (api) {
2323 return nest('app.page.thread', threadPage)
2424
2525 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
2727 const msg = location.key
2828 if (msg !== root) scrollDownToMessage(msg)
2929
3030 const { messages, isPrivate, rootId, lastId, channel, recps } = api.feed.obs.thread(root)

Built with git-ssb-web