From 82a8032b6ce60ce3e2311325e261ef5629a6e24e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 30 Jul 2019 23:36:26 +0100 Subject: [PATCH] Don't show dropdown on search avatar --- webinterface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webinterface.py b/webinterface.py index 7be37d29..75923b41 100644 --- a/webinterface.py +++ b/webinterface.py @@ -481,7 +481,7 @@ def individualPostAsHtml(baseDir: str, \ ' ' \ ' Avatar' - if fullDomain+'/users/'+nickname not in postJsonObject['actor']: + if showAvatarDropdown and fullDomain+'/users/'+nickname not in postJsonObject['actor']: # if not following then show "Follow" in the dropdown followUnfollowStr='Follow' # if following then show "Unfollow" in the dropdown