changeset 3783:908b5fd47634

mod_nodeinfo2: Remove comments count
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sun, 29 Dec 2019 21:08:42 +0100
parents 70e5bab388d8
children 741a1e400de4
files mod_nodeinfo2/mod_nodeinfo2.lua
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_nodeinfo2/mod_nodeinfo2.lua	Sun Dec 29 20:42:34 2019 +0100
+++ b/mod_nodeinfo2/mod_nodeinfo2.lua	Sun Dec 29 21:08:42 2019 +0100
@@ -92,7 +92,8 @@
 						activeWeek = week_users;
 					};
 					localPosts = message_count;
-					localComments = message_count;
+					-- TODO: also count PubSub replies here.
+					localComments = 0;
 				};
 			});
 		end;