From 573f01650b4a6a647601273338cad174c26d877e Mon Sep 17 00:00:00 2001 From: shpuld Date: Mon, 16 Apr 2018 18:19:42 +0300 Subject: [PATCH] Copy parent status nsfw into retweeted_status --- src/modules/statuses.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/statuses.js b/src/modules/statuses.js index 744d514fe2..bd52f161b5 100644 --- a/src/modules/statuses.js +++ b/src/modules/statuses.js @@ -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