mirror of
https://github.com/gurnec/removeddit.git
synced 2026-03-11 08:54:27 +00:00
Color comments '[ Removed by Reddit ]' as removed
This commit is contained in:
parent
c47103b28a
commit
d6c0fc65d3
1 changed files with 1 additions and 1 deletions
|
|
@ -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']
|
||||
|
|
|
|||
Loading…
Reference in a new issue