Make posts from archives with files deleted (by archive) show as "File Deleted". #1287
This commit is contained in:
parent
41a74451c1
commit
bf85ff7666
@ -173,7 +173,9 @@ class Fetcher
|
||||
dateText: data.fourchan_date
|
||||
commentHTML: comment
|
||||
delete o.info.uniqueID if o.info.capcode
|
||||
if data.media?.media_filename
|
||||
if data.media and !!+data.media.banned
|
||||
o.fileDeleted = true
|
||||
else if data.media?.media_filename
|
||||
{thumb_link} = data.media
|
||||
# Fix URLs missing origin
|
||||
thumb_link = url.split('/', 3).join('/') + thumb_link if thumb_link?[0] is '/'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user