main
Bob Mottram 2021-09-03 14:01:35 +01:00
parent 1711faaec9
commit 5a4a2a4ab2
1 changed files with 5 additions and 3 deletions

View File

@ -7146,6 +7146,7 @@ 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 pageNumber = 1
showIndividualPostIcons = True showIndividualPostIcons = True
manuallyApproveFollowers = \ manuallyApproveFollowers = \
@ -7163,7 +7164,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.port, likedPostJson, self.server.port, likedPostJson,
None, True, None, True,
self.server.allowDeletion, self.server.allowDeletion,
httpPrefix, __version__, 'inbox', httpPrefix, __version__, boxName,
self.server.YTReplacementDomain, self.server.YTReplacementDomain,
self.server.showPublishedDateOnly, self.server.showPublishedDateOnly,
self.server.peertubeInstances, self.server.peertubeInstances,
@ -7281,9 +7282,10 @@ class PubServer(BaseHTTPRequestHandler):
del self.server.iconsCache['like_inactive.png'] del self.server.iconsCache['like_inactive.png']
if debug: if debug:
print('Regenerating html post for changed likes collection') print('Regenerating html post for changed likes collection')
pageNumber = 1
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,
@ -7300,7 +7302,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.port, likedPostJson, self.server.port, likedPostJson,
None, True, None, True,
self.server.allowDeletion, self.server.allowDeletion,
httpPrefix, __version__, 'inbox', httpPrefix, __version__, boxName,
self.server.YTReplacementDomain, self.server.YTReplacementDomain,
self.server.showPublishedDateOnly, self.server.showPublishedDateOnly,
self.server.peertubeInstances, self.server.peertubeInstances,