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