Use page number and timeline params

main
Bob Mottram 2021-09-03 15:21:28 +01:00
parent f5e8cd1620
commit 1a3c47bf02
1 changed files with 2 additions and 6 deletions

View File

@ -7153,8 +7153,6 @@ class PubServer(BaseHTTPRequestHandler):
print('Liked post nickname: ' + print('Liked post nickname: ' +
self.postToNickname + ' ' + domain) self.postToNickname + ' ' + domain)
print('Liked post cache: ' + str(cachedPostFilename)) print('Liked post cache: ' + str(cachedPostFilename))
boxName = 'inbox'
pageNumber = 1
showIndividualPostIcons = True showIndividualPostIcons = True
manuallyApproveFollowers = \ manuallyApproveFollowers = \
followerApprovalActive(baseDir, followerApprovalActive(baseDir,
@ -7171,7 +7169,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.port, likedPostJson, self.server.port, likedPostJson,
None, True, None, True,
self.server.allowDeletion, self.server.allowDeletion,
httpPrefix, __version__, boxName, httpPrefix, __version__, timelineStr,
self.server.YTReplacementDomain, self.server.YTReplacementDomain,
self.server.showPublishedDateOnly, self.server.showPublishedDateOnly,
self.server.peertubeInstances, self.server.peertubeInstances,
@ -7292,8 +7290,6 @@ class PubServer(BaseHTTPRequestHandler):
print('Regenerating html post for changed likes collection') print('Regenerating html post for changed likes collection')
likedPostJson = loadJson(likedPostFilename, 0, 1) likedPostJson = loadJson(likedPostFilename, 0, 1)
if likedPostJson: if likedPostJson:
boxName = 'inbox'
pageNumber = 1
showIndividualPostIcons = True showIndividualPostIcons = True
manuallyApproveFollowers = \ manuallyApproveFollowers = \
followerApprovalActive(baseDir, followerApprovalActive(baseDir,
@ -7310,7 +7306,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.port, likedPostJson, self.server.port, likedPostJson,
None, True, None, True,
self.server.allowDeletion, self.server.allowDeletion,
httpPrefix, __version__, boxName, httpPrefix, __version__, timelineStr,
self.server.YTReplacementDomain, self.server.YTReplacementDomain,
self.server.showPublishedDateOnly, self.server.showPublishedDateOnly,
self.server.peertubeInstances, self.server.peertubeInstances,