Ensure that bookmarks are obtainable from cache

main
Bob Mottram 2020-05-21 22:00:35 +01:00
parent f12f659fe2
commit b2fdb2b5f9
1 changed files with 4 additions and 1 deletions

View File

@ -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 = \