Allow downloads

merge-requests/30/head
Bob Mottram 2021-09-04 18:10:29 +01:00
parent 4a7c6c6976
commit 6cd0d0aa85
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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,