Don't collect posts someone is quoting.
This commit is contained in:
parent
9ed360094f
commit
3b9a79647f
@ -75,6 +75,12 @@ class Thread
|
||||
@isDead = true
|
||||
|
||||
collect: ->
|
||||
@posts.forEach (post) -> post.collect()
|
||||
g.threads.rm @fullID
|
||||
@board.threads.rm @
|
||||
n = 0
|
||||
@posts.forEach (post) ->
|
||||
if post.clones.length
|
||||
n++
|
||||
else
|
||||
post.collect()
|
||||
unless n
|
||||
g.threads.rm @fullID
|
||||
@board.threads.rm @
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user