silo replacements when creating html

main
Bob Mottram 2021-09-18 20:17:10 +01:00
parent b6439b80d8
commit 443c9599bf
1 changed files with 4 additions and 1 deletions

View File

@ -190,6 +190,8 @@ def _inboxStorePostToHtmlCache(recentPostsCache: {}, maxRecentPosts: int,
boxname = 'inbox'
notDM = not isDM(postJsonObject)
YTReplacementDomain = getConfigParam(baseDir, 'youtubedomain')
twitterReplacementDomain = getConfigParam(baseDir, 'twitterdomain')
individualPostAsHtml(signingPrivateKeyPem,
True, recentPostsCache, maxRecentPosts,
translate, pageNumber,
@ -197,7 +199,8 @@ def _inboxStorePostToHtmlCache(recentPostsCache: {}, maxRecentPosts: int,
personCache,
nickname, domain, port, postJsonObject,
avatarUrl, True, allowDeletion,
httpPrefix, __version__, boxname, None, None,
httpPrefix, __version__, boxname,
YTReplacementDomain, twitterReplacementDomain,
showPublishedDateOnly,
peertubeInstances, allowLocalNetworkAccess,
themeName, systemLanguage, maxLikeCount,