Assume deleted posts less than 60 seconds old are false positives. #166
This commit is contained in:
parent
32c00c36a0
commit
481e0452e8
@ -289,12 +289,14 @@ ThreadUpdater =
|
|||||||
# continue if post.isDead
|
# continue if post.isDead
|
||||||
ID = +post.ID
|
ID = +post.ID
|
||||||
|
|
||||||
unless ID in index
|
# Assume deleted posts less than 60 seconds old are false positives.
|
||||||
post.kill()
|
unless post.info.date > Date.now() - 60 * $.SECOND
|
||||||
else if post.isDead
|
unless ID in index
|
||||||
post.resurrect()
|
post.kill()
|
||||||
else if post.file and not (post.file.isDead or ID in files)
|
else if post.isDead
|
||||||
post.kill true
|
post.resurrect()
|
||||||
|
else if post.file and not (post.file.isDead or ID in files)
|
||||||
|
post.kill true
|
||||||
|
|
||||||
# Fetching your own posts after posting
|
# Fetching your own posts after posting
|
||||||
if ThreadUpdater.postID and ThreadUpdater.postID is ID
|
if ThreadUpdater.postID and ThreadUpdater.postID is ID
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user