Only show a subset of timelines for group account

main
Bob Mottram 2021-09-21 18:35:20 +01:00
parent c976e15d9b
commit d94baf8644
1 changed files with 29 additions and 27 deletions

View File

@ -889,7 +889,8 @@ def htmlProfile(signingPrivateKeyPem: str,
theme, systemLanguage,
maxLikeCount,
signingPrivateKeyPem) + licenseStr
elif selected == 'following' and not isGroup:
if not isGroup:
if selected == 'following':
profileStr += \
_htmlProfileFollowing(translate, baseDir, httpPrefix,
authorized, nickname,
@ -898,7 +899,7 @@ def htmlProfile(signingPrivateKeyPem: str,
projectVersion, ["unfollow"], selected,
usersPath, pageNumber, maxItemsPerPage,
dormantMonths, debug, signingPrivateKeyPem)
elif selected == 'followers':
if selected == 'followers':
profileStr += \
_htmlProfileFollowing(translate, baseDir, httpPrefix,
authorized, nickname,
@ -908,7 +909,8 @@ def htmlProfile(signingPrivateKeyPem: str,
selected, usersPath, pageNumber,
maxItemsPerPage, dormantMonths, debug,
signingPrivateKeyPem)
elif selected == 'roles' and not isGroup:
if not isGroup:
if selected == 'roles':
profileStr += \
_htmlProfileRoles(translate, nickname, domainFull,
extraJson)