Files
Nitro_Render_V3/packages
simoleo89 e1465f665a fix(communication): read trailing totalBadges int in UserProfileParser
UserProfileComposer appends getTotalBadges() as the final int of the profile
packet, but UserProfileParser returned after displayOrder and never read it, so
the _totalBadges getter always returned its flush default 0. The extended-profile
summary (UserContainerView) reads userProfile.totalBadges with a
`?? userBadges.length` fallback, but since the getter returned 0 (not undefined)
the fallback never triggered and the badge count rendered 0.

Add a 5th optional-trailing tier reading the int (bytesAvailable-guarded so older
servers that don't emit it still parse cleanly).
2026-06-13 18:17:21 +02:00
..
2026-06-10 15:11:41 +02:00