fix: Use proper source text for note updates

This commit is contained in:
Essem 2024-02-06 17:24:30 -06:00
parent f1be178b52
commit b427b1ae73
No known key found for this signature in database
GPG key ID: 7D497397CC3A2A8C

View file

@ -457,7 +457,7 @@ export class ApRendererService {
mediaType: 'text/x.misskeymarkdown',
},
}),
contentMap: note.lang ? {
contentMap: note.lang && content ? {
[note.lang]: content,
} : undefined,
_misskey_quote: quote,
@ -755,7 +755,7 @@ export class ApRendererService {
mediaType: 'text/x.misskeymarkdown',
},
}),
contentMap: note.lang ? {
contentMap: note.lang && content ? {
[note.lang]: content,
} : undefined,
_misskey_quote: quote,