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) <noreply@anthropic.com>
This commit is contained in:
Jakob Wennberg
2026-08-20 12:24:46 +02:00
committed by GitHub
co-authored by Jakob Wennberg Claude Opus 5
parent 9a7db6bbdf
commit db14ac18cb
+3 -2
View File
@@ -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.