Browse Source

Emojis: Show in embedded statuses (#37272)

pull/1371/head
Echo 3 months ago committed by Misty De Meo
parent
commit
927107ca22
No known key found for this signature in database
GPG Key ID: 76CF846A2F674B2C
  1. 2
      app/javascript/mastodon/features/notifications_v2/components/embedded_status_content.tsx

2
app/javascript/mastodon/features/notifications_v2/components/embedded_status_content.tsx

@ -4,6 +4,7 @@ import type { List } from 'immutable';
import { EmojiHTML } from '@/mastodon/components/emoji/html';
import { useElementHandledLink } from '@/mastodon/components/status/handled_link';
import type { CustomEmoji } from '@/mastodon/models/custom_emoji';
import type { Status } from '@/mastodon/models/status';
import type { Mention } from './embedded_status';
@ -33,6 +34,7 @@ export const EmbeddedStatusContent: React.FC<{
className={className}
lang={status.get('language') as string}
htmlString={status.get('contentHtml') as string}
extraEmojis={status.get('emoji') as List<CustomEmoji>}
/>
);
};

Loading…
Cancel
Save