Replace page number

main2
Bob Mottram 2019-10-20 09:52:31 +01:00
parent 6955d1f0d8
commit 4ca3ac28cd
2 changed files with 2 additions and 1 deletions

View File

@ -59,7 +59,7 @@ def inboxStorePostToHtmlCache(translate: {}, \
"""Converts the json post into html and stores it in a cache
This enables the post to be quickly displayed later
"""
pageNumber=1
pageNumber=-999
showAvatarOptions=True
avatarUrl=None
boxName='inbox'

View File

@ -1780,6 +1780,7 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \
loadIndividualPostAsHtmlFromCache(baseDir,nickname,domain, \
postJsonObject)
if postHtml:
postHtml.replace(';-999;',';'+str(pageNumber)+';')
return postHtml
# If this is the inbox timeline then don't show the repeat icon on any DMs