From 5ad69a26f8edd5afdcf70297d3d617a6ae804b3a Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 17 Jan 2022 23:53:43 +0200 Subject: [PATCH] cvxxvc --- files/routes/comments.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/routes/comments.py b/files/routes/comments.py index 158e07a70..8b91f1eea 100644 --- a/files/routes/comments.py +++ b/files/routes/comments.py @@ -475,7 +475,7 @@ def api_comment(v): publish_body={ 'web': { 'notification': { - 'title': f'New reply by @{v.username}', + 'title': f'New reply by @{c.author_name}', 'body': notifbody, 'deep_link': f'https://{site}/comment/{c.id}?context=9&read=true#context', 'icon': f'https://{request.host}/assets/images/{SITE_NAME}/icon.webp', @@ -483,7 +483,7 @@ def api_comment(v): }, 'fcm': { 'notification': { - 'title': f'New reply by @{v.username}', + 'title': f'New reply by @{c.author_name}', 'body': notifbody, }, 'data': {