forked from MarseyWorld/MarseyWorld
cvxxvc
parent
171379a4e3
commit
5ad69a26f8
|
@ -475,7 +475,7 @@ def api_comment(v):
|
||||||
publish_body={
|
publish_body={
|
||||||
'web': {
|
'web': {
|
||||||
'notification': {
|
'notification': {
|
||||||
'title': f'New reply by @{v.username}',
|
'title': f'New reply by @{c.author_name}',
|
||||||
'body': notifbody,
|
'body': notifbody,
|
||||||
'deep_link': f'https://{site}/comment/{c.id}?context=9&read=true#context',
|
'deep_link': f'https://{site}/comment/{c.id}?context=9&read=true#context',
|
||||||
'icon': f'https://{request.host}/assets/images/{SITE_NAME}/icon.webp',
|
'icon': f'https://{request.host}/assets/images/{SITE_NAME}/icon.webp',
|
||||||
|
@ -483,7 +483,7 @@ def api_comment(v):
|
||||||
},
|
},
|
||||||
'fcm': {
|
'fcm': {
|
||||||
'notification': {
|
'notification': {
|
||||||
'title': f'New reply by @{v.username}',
|
'title': f'New reply by @{c.author_name}',
|
||||||
'body': notifbody,
|
'body': notifbody,
|
||||||
},
|
},
|
||||||
'data': {
|
'data': {
|
||||||
|
|
Loading…
Reference in New Issue