fix reddit push notifs

pull/138/head
Aevann 2023-03-06 18:53:36 +02:00
parent cb9e9a849a
commit 79da5014b3
1 changed files with 1 additions and 1 deletions

View File

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