From 0db2bc4f9ae6dc5b6cf740fcbb103ccd56bee265 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sun, 14 May 2023 02:45:18 +0300 Subject: [PATCH] dont send repeatable notif --- files/routes/votes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/votes.py b/files/routes/votes.py index ca83d01dc..e867b2661 100644 --- a/files/routes/votes.py +++ b/files/routes/votes.py @@ -166,7 +166,7 @@ def vote_post_comment(target_id, new, v, cls, vote_cls): mul = PROGSTACK_MUL elif cls == Submission and (any(i in target.title.lower() for i in ENCOURAGED) or any(i in target.url.lower() for i in ENCOURAGED2)): mul = PROGSTACK_MUL - send_repeatable_notification(AEVANN_ID, target.permalink) + send_notification(AEVANN_ID, target.permalink) elif target.author.progressivestack or (target.author.admin_level and target.author.id not in {CARP_ID, SCHIZO_ID}): mul = 2 elif SITE == 'rdrama.net' and cls == Submission: