Skip to content

Commit 19edf54

Browse files
committed
fix sendToGroup exclude
1 parent dd950cd commit 19edf54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Gateway.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ public static function sendToGroup($group, $message, $exclude_client_id = null,
550550
}
551551
foreach ($all_addresses as $address) {
552552
$gateway_data['ext_data'] = isset($address_connection_array[$address]) ?
553-
json_encode(array('group'=> $group, 'exclude'=> array_values($address_connection_array[$address]))) :
553+
json_encode(array('group'=> $group, 'exclude'=> $address_connection_array[$address])) :
554554
$default_ext_data_buffer;
555555
self::sendToGateway($address, $gateway_data);
556556
}

0 commit comments

Comments
 (0)