Don't use cache for media timeline

merge-requests/6/head
Bob Mottram 2019-11-24 15:57:46 +00:00
parent f6f35d69d6
commit 40ada98dad
1 changed files with 1 additions and 1 deletions

View File

@ -2581,7 +2581,7 @@ def htmlTimeline(recentPostsCache: {}, \
if item['type']=='Create' or item['type']=='Announce':
#avatarUrl=getPersonAvatarUrl(baseDir,item['actor'],personCache)
currTlStr=None
if recentPostsCache.get('index'):
if boxName!='tlmedia' and recentPostsCache.get('index'):
postId=item['id'].replace('/activity','').replace('/','#')
if postId in recentPostsCache['index']:
if recentPostsCache['html'].get(postId):