diff --git a/files/routes/comments.py b/files/routes/comments.py index a1386f14b6..b0a870f8f6 100644 --- a/files/routes/comments.py +++ b/files/routes/comments.py @@ -481,7 +481,9 @@ def api_comment(v): 'notification': { 'title': f'New reply by @{v.username}', 'body': c.body, - 'deep_link': f'https://{site}/comment/{c.id}?context=9&read=true#context', + }, + 'data': { + 'url': f'https://{site}/notifications', } } }, diff --git a/files/routes/users.py b/files/routes/users.py index 2f8701ea7f..ebdb19a903 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -450,7 +450,9 @@ def message2(v, username): 'notification': { 'title': f'New reply by @{v.username}', 'body': c.body, - 'deep_link': f'https://{site}/notifications', + }, + 'data': { + 'url': f'https://{site}/notifications', } } }, diff --git a/files/templates/admin/admin_home.html b/files/templates/admin/admin_home.html index ec977a8fb3..9d44c1d2cb 100644 --- a/files/templates/admin/admin_home.html +++ b/files/templates/admin/admin_home.html @@ -73,7 +73,7 @@ {% endif %} - +