mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-10 23:47:12 +02:00
fix: pass source event to RichText in highlight feed preview
The source event preview in HighlightRenderer was only passing the content string to RichText, which meant custom emoji tags from the source event weren't processed. Now passes the source event with the preview content to enable proper emoji and tag-based rendering.
This commit is contained in:
@@ -100,7 +100,7 @@ export function Kind9802Renderer({ event }: BaseEventProps) {
|
||||
onClick={handleOpenEvent}
|
||||
>
|
||||
<RichText
|
||||
content={sourcePreview}
|
||||
event={{ ...sourceEvent, content: sourcePreview }}
|
||||
options={{ showMedia: false, showEventEmbeds: false }}
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user