Skip to content

Commit

Permalink
getSubscribes private channel
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouaini528 committed Jul 21, 2021
1 parent 7f2ac65 commit a7b3414
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Api/WebSocket/SocketClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@ protected function getData($global,$callback=null,$sub=[]){
}

$data=$global->getQueue(strtolower($vv));
$temp[strtolower($vv)]=$data;

if(isset($t[1]) && !empty($t[1])) $temp[strtolower($vv).':'.$t[1]]=$data;
else $temp[strtolower($vv)]=$data;
}
} else {
//public
Expand Down

0 comments on commit a7b3414

Please sign in to comment.