Nodeinfo localPosts counter incorrect

The nodeinfo protocol provides a mechanism to provide statistics on an instance. This is via the usage object which contains an object called « localPosts » (and integer value from 0 to infinity). The schema definition https://nodeinfo.diaspora.software/schema.html indicates this value is « The amount of posts that were made by users that are registered on this server. ».
PeerTube appears to be populating this object with « totalVideos » rather than « totalLocalVideos » and so is greatly inflating reported usage on PeerTube instances.

Oup’s thank you! Should be fixed by Fix nodeinfo local posts · Chocobozzz/PeerTube@d6f7b47 · GitHub

1 Like