Team page: your directs' email, where they came from (referrer + ?src= tag) and how they joined, on each level-1 row (Marty 2026-11-13, same as InstantAdPay's 11-12 change); levels 2-3 never show emails. team.js?v=20261113org

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-11-13 06:10:17 -06:00
parent c79b0aedf6
commit f3fc8dfe18
3 changed files with 7 additions and 2 deletions
+1
View File
@@ -3290,6 +3290,7 @@ const server = http.createServer(async (req, res) => {
founder: !!m.founder, // Founder badge (cosmetic)
ref: m.code || null, // opens the activity drop-down (Clinton's ask, 2026-09-14): any of the three levels
email: L.level === 1 ? m.email : null, // directs only
src: L.level === 1 ? (m.joinedRef || null) : null, via: L.level === 1 ? (m.joinedVia || null) : null, // where a direct came from (2026-11-13)
joined: m.created,
qualified: idsOf(m).some(id => qualified.has(id)),
earnedWei: idsOf(m).reduce((n, id) => n + BigInt(earnedBy[id] || '0'), 0n).toString() })) }));