mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-22 10:13:08 +02: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