[Glitch] Emojis: Show in embedded statuses
Port f118d613349bd43e915c5be58477c7d4d8175371 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
f56f360a5c
commit
fbacb5ae7a
@ -4,6 +4,7 @@ import type { List } from 'immutable';
|
|||||||
|
|
||||||
import { EmojiHTML } from '@/flavours/glitch/components/emoji/html';
|
import { EmojiHTML } from '@/flavours/glitch/components/emoji/html';
|
||||||
import { useElementHandledLink } from '@/flavours/glitch/components/status/handled_link';
|
import { useElementHandledLink } from '@/flavours/glitch/components/status/handled_link';
|
||||||
|
import type { CustomEmoji } from '@/flavours/glitch/models/custom_emoji';
|
||||||
import type { Status } from '@/flavours/glitch/models/status';
|
import type { Status } from '@/flavours/glitch/models/status';
|
||||||
|
|
||||||
import type { Mention } from './embedded_status';
|
import type { Mention } from './embedded_status';
|
||||||
@ -33,6 +34,7 @@ export const EmbeddedStatusContent: React.FC<{
|
|||||||
className={className}
|
className={className}
|
||||||
lang={status.get('language') as string}
|
lang={status.get('language') as string}
|
||||||
htmlString={status.get('contentHtml') as string}
|
htmlString={status.get('contentHtml') as string}
|
||||||
|
extraEmojis={status.get('emoji') as List<CustomEmoji>}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user