From 3e89dfcac03bf5c402fe051233be5a77f04bc006 Mon Sep 17 00:00:00 2001 From: Ev Bogue Date: Mon, 29 Jul 2019 14:06:56 -0500 Subject: profile pages are faster with unboxed log --- views.js | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/views.js b/views.js index 56a9735..fc1293c 100644 --- a/views.js +++ b/views.js @@ -91,8 +91,17 @@ function profilePage (src, keys) { } }, ['Delete feed'])) + bog().then(log => { + if (log) { + log.forEach(function (msg) { + if (msg.author === src) { + scroller.appendChild(render(msg, keys)) + } + }) + } + }) - bog(src).then(log => { + /*bog(src).then(log => { if (log) { log.forEach(function (msg) { open(msg).then(post => { @@ -100,7 +109,7 @@ function profilePage (src, keys) { }) }) } - }) + })*/ } function searchPage (src, keys) { -- cgit v1.2.3-70-g09d2