From e4c34ec6ad5a0daf52176dfb952cef2c02d3258b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 13 Dec 2020 12:48:04 +0000 Subject: [PATCH] Comment --- webapp_profile.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webapp_profile.py b/webapp_profile.py index b1651d27..c2c5ac9c 100644 --- a/webapp_profile.py +++ b/webapp_profile.py @@ -742,11 +742,13 @@ def htmlProfileFollowing(translate: {}, baseDir: str, httpPrefix: str, ' \n' for followingActor in followingJson['orderedItems']: + # is this a dormant followed account? dormant = False if authorized and feedName == 'following': dormant = \ isDormant(baseDir, nickname, domain, followingActor, dormantMonths) + profileStr += \ individualFollowAsHtml(translate, baseDir, session, wfRequest, personCache, @@ -754,6 +756,7 @@ def htmlProfileFollowing(translate: {}, baseDir: str, httpPrefix: str, authorized, nickname, httpPrefix, projectVersion, dormant, buttons) + if authorized and maxItemsPerPage and pageNumber: if len(followingJson['orderedItems']) >= maxItemsPerPage: # page down arrow