diff --git a/files/routes/comments.py b/files/routes/comments.py index 3ecdd0b74..a1386f14b 100644 --- a/files/routes/comments.py +++ b/files/routes/comments.py @@ -481,6 +481,7 @@ 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', } } }, diff --git a/files/routes/users.py b/files/routes/users.py index 881430c89..2f8701ea7 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -450,6 +450,7 @@ def message2(v, username): 'notification': { 'title': f'New reply by @{v.username}', 'body': c.body, + 'deep_link': f'https://{site}/notifications', } } },