From 4ab45e4ad9c07bf573b0298df859b72030d70570 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Mon, 30 Sep 2019 22:52:38 +0200 Subject: [PATCH] Fix following count in the public UI --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 12a8c0a..cb44ccb 100644 --- a/app.py +++ b/app.py @@ -160,7 +160,7 @@ def inject_config(): config=config, logged_in=logged_in, followers_count=DB.activities.count(followers_q), - following_count=DB.activities.count(following_q) if logged_in else 0, + following_count=DB.activities.count(following_q) if logged_in or not config.HIDE_FOLLOWING else 0, notes_count=notes_count, liked_count=DB.activities.count(liked_q) if logged_in else 0, with_replies_count=DB.activities.count(all_q) if logged_in else 0,