Don't collect posts someone is quoting.

This commit is contained in:
ccd0 2016-10-02 20:08:41 -07:00
parent 9ed360094f
commit 3b9a79647f

View File

@ -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 @