diff --git a/Iceshrimp.Backend/Core/Federation/ActivityPub/NoteRenderer.cs b/Iceshrimp.Backend/Core/Federation/ActivityPub/NoteRenderer.cs index 1499138b..8fea9e12 100644 --- a/Iceshrimp.Backend/Core/Federation/ActivityPub/NoteRenderer.cs +++ b/Iceshrimp.Backend/Core/Federation/ActivityPub/NoteRenderer.cs @@ -136,7 +136,7 @@ public class NoteRenderer(IOptions config, MfmConverter Attachments = attachments, Content = text != null ? await mfmConverter.ToHtmlAsync(text, mentions, note.UserHost) : null, Summary = note.Cw, - Source = text != null + Source = note.Text != null ? new ASNoteSource { Content = note.Text, MediaType = "text/x.misskeymarkdown" } : null, MkQuote = quoteUri, @@ -165,8 +165,8 @@ public class NoteRenderer(IOptions config, MfmConverter Attachments = attachments, Content = text != null ? await mfmConverter.ToHtmlAsync(text, mentions, note.UserHost) : null, Summary = note.Cw, - Source = text != null - ? new ASNoteSource { Content = text, MediaType = "text/x.misskeymarkdown" } + Source = note.Text != null + ? new ASNoteSource { Content = note.Text, MediaType = "text/x.misskeymarkdown" } : null, MkQuote = quoteUri, QuoteUri = quoteUri,