bbb
This commit is contained in:
parent
01aa227dbe
commit
8722dbeb15
2 changed files with 2 additions and 0 deletions
|
@ -481,6 +481,7 @@ def api_comment(v):
|
||||||
'notification': {
|
'notification': {
|
||||||
'title': f'New reply by @{v.username}',
|
'title': f'New reply by @{v.username}',
|
||||||
'body': c.body,
|
'body': c.body,
|
||||||
|
'click_action': 'android.intent.category.DEFAULT',
|
||||||
},
|
},
|
||||||
'data': {
|
'data': {
|
||||||
'url': f'comment/{c.id}?context=9&read=true#context',
|
'url': f'comment/{c.id}?context=9&read=true#context',
|
||||||
|
|
|
@ -450,6 +450,7 @@ def message2(v, username):
|
||||||
'notification': {
|
'notification': {
|
||||||
'title': f'New message from @{v.username}',
|
'title': f'New message from @{v.username}',
|
||||||
'body': message,
|
'body': message,
|
||||||
|
'click_action': 'android.intent.category.DEFAULT',
|
||||||
},
|
},
|
||||||
'data': {
|
'data': {
|
||||||
'url': f'notifications',
|
'url': f'notifications',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue