diff options
Diffstat (limited to 'vnext')
-rw-r--r-- | vnext/server/sender.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vnext/server/sender.js b/vnext/server/sender.js index fa8c4853..257c79f7 100644 --- a/vnext/server/sender.js +++ b/vnext/server/sender.js @@ -143,15 +143,15 @@ export function buildNotification(user, msg) { template.body = body //template.badge = user.unreadCount || 0 template.mutableContent = 1 - template.color = '#3c77aa' - template.icon = 'ic_notification' - template.clickAction = 'com.juick.NEW_EVENT_ACTION' const tag = msg.mid == 0 ? msg.user.uname : msg.mid template.tag = `${tag}` template.fcm_notification = { title: title, body: body, - channel_id: 'default' + channel_id: 'default', + click_action: 'com.juick.NEW_EVENT_ACTION', + icon: 'ic_notification', + color: '#3c77aa' } } return template |