Change deletedPosts/deletedFiles to fullID.
This commit is contained in:
parent
b629b3dca1
commit
668f2ed80e
@ -301,14 +301,14 @@ ThreadUpdater =
|
||||
deletedPosts = []
|
||||
for ID in ThreadUpdater.postIDs when ID not in index
|
||||
thread.posts[ID].kill()
|
||||
deletedPosts.push ID
|
||||
deletedPosts.push "#{board}.#{ID}"
|
||||
ThreadUpdater.postIDs = index
|
||||
|
||||
# Check for deleted files.
|
||||
deletedFiles = []
|
||||
for ID in ThreadUpdater.fileIDs when not (ID in files or ID in deletedPosts)
|
||||
for ID in ThreadUpdater.fileIDs when not (ID in files or "#{board}.#{ID}" in deletedPosts)
|
||||
thread.posts[ID].kill true
|
||||
deletedFiles.push ID
|
||||
deletedFiles.push "#{board}.#{ID}"
|
||||
ThreadUpdater.fileIDs = files
|
||||
|
||||
unless count
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user