master
Aevann1 2022-01-15 10:22:49 +02:00
parent c6d41b1c14
commit da227a2410
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: