mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
feat(app): rank forward destinations and preview the message (#2790)
This commit is contained in:
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 (
|
||||
|
||||
Reference in new issue
Block a user