mirror of
https://akkoma.dev/AkkomaGang/akkoma-fe.git
synced 2024-11-09 01:49:14 +00:00
Copy parent status nsfw into retweeted_status
This commit is contained in:
parent
5bc7ecdb3b
commit
573f01650b
1 changed files with 3 additions and 0 deletions
|
@ -44,6 +44,9 @@ export const prepareStatus = (status) => {
|
|||
// Parse nsfw tags
|
||||
if (status.nsfw === undefined) {
|
||||
status.nsfw = isNsfw(status)
|
||||
if (status.retweeted_status) {
|
||||
status.retweeted_status.nsfw = status.nsfw
|
||||
}
|
||||
}
|
||||
|
||||
// Set deleted flag
|
||||
|
|
Loading…
Reference in a new issue