fix(premium): serve the Plutonium page at /channels/@premium (#3132)

This commit is contained in:
Hampus authored and GitHub committed 2026-10-02 18:20:01 +02:00
1 parent 00620715da
commit 69d93f9fee
3 files changed
+14 -5

No files matched your search

@@ -145,7 +145,7 @@ function getCurrentInviteDestinationKey(): string | null {
if (guildId === '@me') {
return channelId ? createBotInviteDestinationKey('group_dm', channelId) : null;
}
if (guildId !== '@favorites' && guildId !== '@discover') {
if (guildId !== '@favorites' && guildId !== '@discover' && guildId !== '@premium') {
return createBotInviteDestinationKey('guild', guildId);
}
return null;