mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-22 16:13:09 +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',
|
mediaType: 'text/x.misskeymarkdown',
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
contentMap: note.lang ? {
|
contentMap: note.lang && content ? {
|
||||||
[note.lang]: content,
|
[note.lang]: content,
|
||||||
} : undefined,
|
} : undefined,
|
||||||
_misskey_quote: quote,
|
_misskey_quote: quote,
|
||||||
|
@ -755,7 +755,7 @@ export class ApRendererService {
|
||||||
mediaType: 'text/x.misskeymarkdown',
|
mediaType: 'text/x.misskeymarkdown',
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
contentMap: note.lang ? {
|
contentMap: note.lang && content ? {
|
||||||
[note.lang]: content,
|
[note.lang]: content,
|
||||||
} : undefined,
|
} : undefined,
|
||||||
_misskey_quote: quote,
|
_misskey_quote: quote,
|
||||||
|
|
Loading…
Reference in a new issue