diff --git a/files/helpers/actions.py b/files/helpers/actions.py index 013b4a849..5431b7154 100644 --- a/files/helpers/actions.py +++ b/files/helpers/actions.py @@ -265,6 +265,8 @@ def execute_zozbot(c:Comment, level:int, post_target:post_target_type, v): post_target.comment_count += 3 g.db.add(post_target) + g.db.flush() + push_notif({v.id}, f'New reply by @zozbot', "zoz", (c2.id,posting_to_submission)) def execute_longpostbot(c:Comment, level:int, body, body_html, post_target:post_target_type, v:User): if SITE_NAME != 'rDrama': return @@ -308,6 +310,8 @@ def execute_longpostbot(c:Comment, level:int, body, body_html, post_target:post_ post_target.comment_count += 3 g.db.add(post_target) + g.db.flush() + push_notif({v.id}, f'New reply by @longpostbot', c2.body, (c2.id,posting_to_submission)) def execute_antispam_submission_check(title, v, url): now = int(time.time())