Improve logic for profile timelines

main
Bob Mottram 2021-09-21 18:47:25 +01:00
parent d94baf8644
commit a4e7ecd214
1 changed files with 3 additions and 2 deletions

View File

@ -898,7 +898,8 @@ def htmlProfile(signingPrivateKeyPem: str,
cachedWebfingers, personCache, extraJson,
projectVersion, ["unfollow"], selected,
usersPath, pageNumber, maxItemsPerPage,
dormantMonths, debug, signingPrivateKeyPem)
dormantMonths, debug,
signingPrivateKeyPem)
if selected == 'followers':
profileStr += \
_htmlProfileFollowing(translate, baseDir, httpPrefix,
@ -914,7 +915,7 @@ def htmlProfile(signingPrivateKeyPem: str,
profileStr += \
_htmlProfileRoles(translate, nickname, domainFull,
extraJson)
elif selected == 'skills' and not isGroup:
elif selected == 'skills':
profileStr += \
_htmlProfileSkills(translate, nickname, domainFull, extraJson)
# elif selected == 'shares':