This commit is contained in:
Marcel Pociot 2018-11-27 16:55:30 +01:00
parent fffbbae6a9
commit 72ae8f42dc
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ class PresenceChannel extends Channel
$this->saveConnection($connection);
$channelData = json_decode($payload->channel_data);
$this->users[$channelData->user_id] = $channelData;
$this->users[$connection->socketId] = $channelData;
// Send the success event
$connection->send(json_encode([