chore: Fcm notification priority (#3319)

This commit is contained in:
A. Verde 2021-11-08 07:02:07 +01:00 committed by GitHub
parent 97ee1bfa97
commit 81708f92a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -97,6 +97,7 @@ class Notification::PushNotificationService
body: notification.push_message_title,
sound: 'default'
},
android: { priority: 'high' },
data: { notification: notification.fcm_push_data.to_json },
collapse_key: "chatwoot_#{notification.primary_actor_type.downcase}_#{notification.primary_actor_id}"
}