mirror of https://gitlab.com/bashrc2/epicyon
Replace page number
parent
6955d1f0d8
commit
4ca3ac28cd
2
inbox.py
2
inbox.py
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue