Skip to content

Commit 3c4f8cc

Browse files
redjanymredjanym
authored andcommitted
Set Collapse Key
1 parent 3d7d2fe commit 3c4f8cc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

FCMClient.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ public function sendNotification($notification)
131131
->setData($notification->getData())
132132
->setPriority($notification->getPriority())
133133
->setJsonData($notification->getJsonData())
134-
->setContentAvailable($notification->getContentAvailable());
134+
->setContentAvailable($notification->getContentAvailable())
135+
->setCollapseKey($notification->getCollapseKey());
135136

136137
// Check for the type of Notification
137138
if($notification instanceof DeviceNotification){

0 commit comments

Comments
 (0)