diff --git a/files/routes/comments.py b/files/routes/comments.py index 1d6d64840..444362f2f 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, + 'click_action': 'android.intent.category.DEFAULT', }, 'data': { 'url': f'comment/{c.id}?context=9&read=true#context', diff --git a/files/routes/users.py b/files/routes/users.py index 1aeb28d77..2fa5beb32 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -450,6 +450,7 @@ def message2(v, username): 'notification': { 'title': f'New message from @{v.username}', 'body': message, + 'click_action': 'android.intent.category.DEFAULT', }, 'data': { 'url': f'notifications',