From db14ac18cbc8308ae49a6d2db4c796232a75dd60 Mon Sep 17 00:00:00 2001 From: Jakob Wennberg Date: Thu, 20 Aug 2026 12:24:46 +0200 Subject: [PATCH] fix(nav): replace the expired Discord invite in the user menu (#1741) The invite behind the "Discord-community" row had expired, so logged-in users hit a dead link while the one on the website still worked. Swapped in the permanent invite (expires_at: null) for the same Accounted guild and noted in the comment that this constant must never hold an expiring invite. Reported by a user on 2026-08-20. Co-authored-by: Jakob Wennberg <311770904+jakobwennberg-oss@users.noreply.github.com> Co-authored-by: Claude Opus 5 (1M context) --- components/dashboard/UserMenu.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/components/dashboard/UserMenu.tsx b/components/dashboard/UserMenu.tsx index a1eed4a3..dcc0edfb 100644 --- a/components/dashboard/UserMenu.tsx +++ b/components/dashboard/UserMenu.tsx @@ -25,8 +25,9 @@ import { // Community invite (Accounted's Discord). Deliberately a constant, not // branding config: self-hosted rebrands can hide or swap it when someone -// actually asks for that. -const DISCORD_INVITE_URL = 'https://discord.gg/D9SxtTgvx' +// actually asks for that. Must be a never-expiring invite: the previous one +// expired and left logged-in users with a dead link. +const DISCORD_INVITE_URL = 'https://discord.gg/nfE9Uyv69a' // Lucide ships no brand marks, so the Discord logo is inlined (simple-icons // path, CC0). Sized and colored like the surrounding lucide icons.