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
|
"""Converts the json post into html and stores it in a cache
|
||||||
This enables the post to be quickly displayed later
|
This enables the post to be quickly displayed later
|
||||||
"""
|
"""
|
||||||
pageNumber=1
|
pageNumber=-999
|
||||||
showAvatarOptions=True
|
showAvatarOptions=True
|
||||||
avatarUrl=None
|
avatarUrl=None
|
||||||
boxName='inbox'
|
boxName='inbox'
|
||||||
|
|
|
@ -1780,6 +1780,7 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \
|
||||||
loadIndividualPostAsHtmlFromCache(baseDir,nickname,domain, \
|
loadIndividualPostAsHtmlFromCache(baseDir,nickname,domain, \
|
||||||
postJsonObject)
|
postJsonObject)
|
||||||
if postHtml:
|
if postHtml:
|
||||||
|
postHtml.replace(';-999;',';'+str(pageNumber)+';')
|
||||||
return postHtml
|
return postHtml
|
||||||
|
|
||||||
# If this is the inbox timeline then don't show the repeat icon on any DMs
|
# If this is the inbox timeline then don't show the repeat icon on any DMs
|
||||||
|
|
Loading…
Reference in New Issue