mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
Send push notifications on mentions
This commit is contained in:
@@ -56,7 +56,7 @@ function sendNotification (user, details = {}) {
|
||||
case 'ios':
|
||||
if (apnProvider) {
|
||||
const notification = new apn.Notification({
|
||||
alert: details.message,
|
||||
alert: {title: details.title, body: details.message},
|
||||
sound: 'default',
|
||||
category: details.category,
|
||||
topic: 'com.habitrpg.ios.Habitica',
|
||||
|
||||
Reference in New Issue
Block a user