under siege
parent
348d0cc069
commit
1469ace2fc
|
@ -527,7 +527,7 @@ def execute_under_siege(v, target, body, kind):
|
|||
|
||||
if kind in {'message', 'report'} and SITE == 'rdrama.net':
|
||||
threshold = 86400
|
||||
elif kind == 'post' and SITE == 'watchpeopledie.tv':
|
||||
elif kind != 'normal_comment' and SITE == 'watchpeopledie.tv':
|
||||
threshold = 86400
|
||||
else:
|
||||
threshold = UNDER_SIEGE_AGE_THRESHOLD
|
||||
|
|
|
@ -305,7 +305,9 @@ def comment(v):
|
|||
process_options(v, c)
|
||||
|
||||
execute_blackjack(v, c, c.body, "comment")
|
||||
execute_under_siege(v, c, c.body, "comment")
|
||||
|
||||
kind = "normal_comment" if posting_to_post else "wall_comment"
|
||||
execute_under_siege(v, c, c.body, kind)
|
||||
|
||||
if c.level == 1: c.top_comment_id = c.id
|
||||
else: c.top_comment_id = parent.top_comment_id
|
||||
|
|
Loading…
Reference in New Issue