This commit is contained in:
Marcel Pociot 2018-11-27 10:44:55 +01:00
parent 3c90d5bfb6
commit 23cf67045d
1 changed files with 1 additions and 1 deletions

View File

@ -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)
]