merge-requests/30/head
Bob Mottram 2021-09-04 18:14:51 +01:00
parent 6cd0d0aa85
commit f564ee71c6
1 changed files with 7 additions and 7 deletions

View File

@ -840,12 +840,12 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
if postId in recentPostsCache['index']:
if not item.get('muted'):
if recentPostsCache['html'].get(postId):
currTlStr = recentPostsCache['html'][postId]
currTlStr = \
preparePostFromHtmlCache(nickname,
currTlStr,
boxName,
pageNumber)
# currTlStr = recentPostsCache['html'][postId]
# currTlStr = \
# preparePostFromHtmlCache(nickname,
# currTlStr,
# boxName,
# pageNumber)
_logTimelineTiming(enableTimingLog,
timelineStartTime,
boxName, '10')
@ -860,7 +860,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
# read the post from disk
currTlStr = \
individualPostAsHtml(signingPrivateKeyPem,
True, recentPostsCache,
False, recentPostsCache,
maxRecentPosts,
translate, pageNumber,
baseDir, session,