mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-25 23:45:13 +00:00
fix: Use proper source text for note updates
This commit is contained in:
parent
f1be178b52
commit
b427b1ae73
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue