Copy parent status nsfw into retweeted_status

This commit is contained in:
shpuld 2018-04-16 18:19:42 +03:00
parent 5bc7ecdb3b
commit 573f01650b

View file

@ -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