From d6c0fc65d38c952751a0a03973847fefca7d0482 Mon Sep 17 00:00:00 2001 From: Christopher Gurnee Date: Mon, 13 Jun 2022 16:25:48 +0000 Subject: [PATCH] Color comments '[ Removed by Reddit ]' as removed --- src/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.js b/src/utils.js index cc4dbf0..19df676 100644 --- a/src/utils.js +++ b/src/utils.js @@ -25,7 +25,7 @@ export const sleep = ms => export const isDeleted = textBody => textBody === '\\[deleted\\]' || textBody === '[deleted]' // Reddits way of indicating that something is deleted -export const isRemoved = textBody => textBody === '\\[removed\\]' || textBody === '[removed]' +export const isRemoved = textBody => textBody === '\\[removed\\]' || textBody === '[removed]' || textBody === '[ Removed by Reddit ]' // Default thumbnails for reddit threads export const redditThumbnails = ['self', 'default', 'image', 'nsfw']