forked from AkkomaGang/akkoma-fe
Merge branch 'fix/no-nsfw-in-repeats' into develop
This commit is contained in:
commit
9c90a24133
1 changed files with 3 additions and 0 deletions
|
@ -44,6 +44,9 @@ export const prepareStatus = (status) => {
|
||||||
// Parse nsfw tags
|
// Parse nsfw tags
|
||||||
if (status.nsfw === undefined) {
|
if (status.nsfw === undefined) {
|
||||||
status.nsfw = isNsfw(status)
|
status.nsfw = isNsfw(status)
|
||||||
|
if (status.retweeted_status) {
|
||||||
|
status.retweeted_status.nsfw = status.nsfw
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set deleted flag
|
// Set deleted flag
|
||||||
|
|
Loading…
Reference in a new issue