From 79da5014b379a410fcdb6ec3f81edcc65fb3d2c1 Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 6 Mar 2023 18:53:36 +0200 Subject: [PATCH] fix reddit push notifs --- files/helpers/offsitementions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/offsitementions.py b/files/helpers/offsitementions.py index 9eb4006f5..5070e837b 100644 --- a/files/helpers/offsitementions.py +++ b/files/helpers/offsitementions.py @@ -124,4 +124,4 @@ def notify_mentions(mentions, send_to=None, mention_str='site mention'): notif = Notification(comment_id=new_comment.id, user_id=send_to) g.db.add(notif) - push_notif({send_to}, f'New mention of you on reddit by /u/{author}', new_comment.body, f'{SITE_FULL}/comment/{new_comment.id}?read=true#context') + push_notif({send_to}, f'New mention of you on reddit by /u/{author}', '', f'{SITE_FULL}/comment/{new_comment.id}?read=true#context')