feat(app): rank forward destinations and preview the message (#2790)

This commit is contained in:
Hampus authored and GitHub committed 2026-09-15 07:23:26 +02:00
1 parent c5aaf65a10
commit f4c5fee17e
80 files changed
+6564 -2712

No files matched your search

@@ -23,7 +23,7 @@ import * as InviteCommands from '@app/features/invite/commands/InviteCommands';
import * as InviteUtils from '@app/features/invite/utils/InviteUtils';
import jumpLinkStyles from '@app/features/messaging/components/markdown/renderers/MessageJumpLink.module.css';
import {
MarkdownContext,
isRestrictedInlineContext,
type MarkdownRenderOptions,
type RendererProps,
} from '@app/features/messaging/components/markdown/renderers/RendererTypes';
@@ -647,7 +647,7 @@ export const LinkRenderer = observer(function LinkRenderer({
const jumpChannel = jumpTarget ? (Channels.getChannel(jumpTarget.channelId) ?? null) : null;
const jumpGuild = jumpChannel?.guildId ? (Guilds.getGuild(jumpChannel.guildId) ?? null) : null;
const settingsTarget = isAppProtocolUrl(url) ? parseUserSettingsDeepLink(url) : null;
const isInlineReplyContext = options.context === MarkdownContext.RESTRICTED_INLINE_REPLY;
const isInlineReplyContext = isRestrictedInlineContext(options.context);
const shouldDisableInteractions = options.disableInteractions === true;
if (inviteCode && StreamerMode.shouldHideInviteLinks) {
return (