aboutsummaryrefslogtreecommitdiff
path: root/lib/render-msg.js
diff options
context:
space:
mode:
authorcel <cel@lOUVT+Phkvai9a/cCS/RKo+S9hnPAQdVixms/7ldpPA=.ed25519>2020-04-13 18:51:24 -0400
committercel <cel@lOUVT+Phkvai9a/cCS/RKo+S9hnPAQdVixms/7ldpPA=.ed25519>2020-04-13 18:51:24 -0400
commit926edce4bb7ca2b938d359de8a059f64f4f3ed70 (patch)
treedc567a47ec450a80682661a33be85113bfddcc25 /lib/render-msg.js
parenta49b7966a2055d82321ad7079c8fbc045a41ef37 (diff)
downloadpatchfoo-926edce4bb7ca2b938d359de8a059f64f4f3ed70.tar.gz
patchfoo-926edce4bb7ca2b938d359de8a059f64f4f3ed70.zip
Fix mention list rendering
Diffstat (limited to 'lib/render-msg.js')
-rw-r--r--lib/render-msg.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/render-msg.js b/lib/render-msg.js
index 678a377..d01523e 100644
--- a/lib/render-msg.js
+++ b/lib/render-msg.js
@@ -1127,7 +1127,7 @@ RenderMsg.prototype.valueTable = function (val, depth, cb) {
: typeof val.link === 'string' ? (
val.link[0] === '#'
? h('a', {href: self.toUrl('/channel/' + val.link.substr(1))}, val.link)
- : self.linkValue(val.link, done())
+ : self.linkValue(val, done())
) : h('table.ssb-object', Object.keys(val).map(function (key) {
if (key === 'text') {
return h('tr',