mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-01-17 01:58:07 +00:00
Firebase Keymap : Fix lpush param handling to support properly legacy server key
This commit is contained in:
parent
fd57132d06
commit
220ea6a6f6
1 changed files with 2 additions and 1 deletions
|
|
@ -47,7 +47,8 @@ class FlexisipPusherConnector
|
|||
|
||||
foreach ($firebaseKeysmap as $map) {
|
||||
if (str_contains($map, ':')) {
|
||||
list($id, $value) = explode(':', $map);
|
||||
//We put the explode limit to 2 to also support legacy firebase keys format (number:alphanum:alphanumsymb)
|
||||
list($id, $value) = explode(':', $map, 2);
|
||||
$pusherFirebaseKeysmap[$id] = $value;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue