From b2fdb2b5f9c7f4445547434a63f900928c9edf53 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 21 May 2020 22:00:35 +0100 Subject: [PATCH] Ensure that bookmarks are obtainable from cache --- webinterface.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webinterface.py b/webinterface.py index 245609ea2..7df72dee3 100644 --- a/webinterface.py +++ b/webinterface.py @@ -3449,7 +3449,10 @@ def individualPostAsHtml(recentPostsCache: {}, maxRecentPosts: int, if pageNumber: pageNumberParam = '?page=' + str(pageNumber) - if not showPublicOnly and storeToCache and boxName != 'tlmedia': + if (not showPublicOnly and + (storeToCache or boxName == 'bookmarks' or + boxName == 'tlbookmarks') and + boxName != 'tlmedia'): # update avatar if needed if not avatarUrl: avatarUrl = \