mod_nodeinfo2: Remove comments count
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Sun, 29 Dec 2019 21:08:42 +0100
changeset 3787 908b5fd47634
parent 3786 70e5bab388d8
child 3788 741a1e400de4
mod_nodeinfo2: Remove comments count
mod_nodeinfo2/mod_nodeinfo2.lua
--- 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;