From 2e62af9a889a64c094764c1056f5079ea2637734 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 12 Jan 2021 10:23:25 +0000 Subject: [PATCH] Don't show display name and handle --- webapp_profile.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/webapp_profile.py b/webapp_profile.py index e3261e92d..6d6a0b0c1 100644 --- a/webapp_profile.py +++ b/webapp_profile.py @@ -1532,8 +1532,6 @@ def _individualFollowAsHtml(translate: {}, followUrlDomain, followUrlPort = getDomainFromActor(followUrl) followUrlDomainFull = getFullDomain(followUrlDomain, followUrlPort) titleStr = '@' + followUrlNickname + '@' + followUrlDomainFull - if dormant: - titleStr += ' 💤' avatarUrl = getPersonAvatarUrl(baseDir, followUrl, personCache, True) if not avatarUrl: avatarUrl = followUrl + '/avatar.png' @@ -1555,7 +1553,10 @@ def _individualFollowAsHtml(translate: {}, if avatarUrl2: avatarUrl = avatarUrl2 if displayName: - titleStr = displayName + ' ' + titleStr + titleStr = displayName + + if dormant: + titleStr += ' 💤' buttonsStr = '' if authorized: