From 6cd0d0aa859a0f80f91da76f062894fa3e9a455f Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 4 Sep 2021 18:10:29 +0100 Subject: [PATCH] Allow downloads --- inbox.py | 2 +- webapp_timeline.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inbox.py b/inbox.py index cce871569..90409a9e6 100644 --- a/inbox.py +++ b/inbox.py @@ -1530,7 +1530,7 @@ def _receiveAnnounce(recentPostsCache: {}, ' -> ' + messageJson['object']) domainFull = getFullDomain(domain, port) - # generate html + # Generate html. This also downloads the announced post. pageNumber = 1 showPublishedDateOnly = False showIndividualPostIcons = True diff --git a/webapp_timeline.py b/webapp_timeline.py index 14e1d45d5..4391222e5 100644 --- a/webapp_timeline.py +++ b/webapp_timeline.py @@ -860,7 +860,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str, # read the post from disk currTlStr = \ individualPostAsHtml(signingPrivateKeyPem, - False, recentPostsCache, + True, recentPostsCache, maxRecentPosts, translate, pageNumber, baseDir, session,