Skip to content

Commit

Permalink
subscribe lose
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouaini528 committed Aug 7, 2024
1 parent 44ac9c2 commit a8cb111
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Api/WebSocket/SocketGlobal.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ protected function allSubUpdate($data,$type='add'){
if(!isset($new_value[$k])) $new_value[$k]=$v;
else $new_value[$k]=array_unique(array_merge($new_value[$k],$v));
}else{
//sub locse
array_push($new_value,$v);
}
break;
Expand Down

0 comments on commit a8cb111

Please sign in to comment.