forked from indymedia/epicyon
Replace page number
This commit is contained in:
1 parent
6955d1f0d8
commit
4ca3ac28cd
2 files changed
+2
-1
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user