This commit is contained in:
Aevann1 2022-01-15 10:22:49 +02:00
parent d453fa8841
commit 5f7bbb6576
2 changed files with 14 additions and 2 deletions

View file

@ -475,8 +475,14 @@ def api_comment(v):
'title': f'New reply by @{v.username}',
'body': c.body,
'deep_link': f'https://{site}/comment/{c.id}?context=9&read=true#context',
}
},
},
'fcm': {
'notification': {
'title': f'New reply by @{v.username}',
'body': c.body,
}
}
},
)
except Exception as e:

View file

@ -444,8 +444,14 @@ def message2(v, username):
'title': f'New message from @{v.username}',
'body': message,
'deep_link': f'https://{site}/notifications',
}
},
},
'fcm': {
'notification': {
'title': f'New reply by @{v.username}',
'body': c.body,
}
}
},
)
except Exception as e: