[backend/federation] Don't add RE: to ASNote.Source.Content for quotes

This commit is contained in:
Laura Hausmann 2024-05-02 00:00:57 +02:00
parent 0e6864fe38
commit 2e0792ab73
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -137,7 +137,7 @@ public class NoteRenderer(IOptions<Config.InstanceSection> config, MfmConverter
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" }
? new ASNoteSource { Content = note.Text, MediaType = "text/x.misskeymarkdown" }
: null,
MkQuote = quoteUri,
QuoteUri = quoteUri,