diff mod_nodeinfo2/mod_nodeinfo2.lua @ 3783:908b5fd47634

mod_nodeinfo2: Remove comments count
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sun, 29 Dec 2019 21:08:42 +0100
parents 263f5f1ee71f
children 741a1e400de4
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;