wip
This commit is contained in:
parent
3c90d5bfb6
commit
23cf67045d
|
|
@ -59,7 +59,7 @@ class PresenceChannel extends Channel
|
|||
{
|
||||
return [
|
||||
'presence' => [
|
||||
'ids' => array_keys(array_map(function($channelData) { return $channelData->user_id; }, $this->users)),
|
||||
'ids' => array_values(array_map(function($channelData) { return $channelData->user_id; }, $this->users)),
|
||||
'hash' => array_map(function($channelData) { return $channelData->user_info; }, $this->users),
|
||||
'count' => count($this->users)
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in New Issue