This commit is contained in:
Marcel Pociot 2018-11-27 10:34:17 +01:00
parent 2685f48f1e
commit 3c90d5bfb6
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ class PresenceChannel extends Channel
{
return [
'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),
'count' => count($this->users)
]