From 1a3c47bf02f89aec17e14d2d36632eea650793de Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 3 Sep 2021 15:21:28 +0100 Subject: [PATCH] Use page number and timeline params --- daemon.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/daemon.py b/daemon.py index a3d30c0e3..7e1ff7ce9 100644 --- a/daemon.py +++ b/daemon.py @@ -7153,8 +7153,6 @@ class PubServer(BaseHTTPRequestHandler): print('Liked post nickname: ' + self.postToNickname + ' ' + domain) print('Liked post cache: ' + str(cachedPostFilename)) - boxName = 'inbox' - pageNumber = 1 showIndividualPostIcons = True manuallyApproveFollowers = \ followerApprovalActive(baseDir, @@ -7171,7 +7169,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.port, likedPostJson, None, True, self.server.allowDeletion, - httpPrefix, __version__, boxName, + httpPrefix, __version__, timelineStr, self.server.YTReplacementDomain, self.server.showPublishedDateOnly, self.server.peertubeInstances, @@ -7292,8 +7290,6 @@ class PubServer(BaseHTTPRequestHandler): print('Regenerating html post for changed likes collection') likedPostJson = loadJson(likedPostFilename, 0, 1) if likedPostJson: - boxName = 'inbox' - pageNumber = 1 showIndividualPostIcons = True manuallyApproveFollowers = \ followerApprovalActive(baseDir, @@ -7310,7 +7306,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.port, likedPostJson, None, True, self.server.allowDeletion, - httpPrefix, __version__, boxName, + httpPrefix, __version__, timelineStr, self.server.YTReplacementDomain, self.server.showPublishedDateOnly, self.server.peertubeInstances,