wip
This commit is contained in:
parent
fffbbae6a9
commit
72ae8f42dc
|
|
@ -24,7 +24,7 @@ class PresenceChannel extends Channel
|
||||||
$this->saveConnection($connection);
|
$this->saveConnection($connection);
|
||||||
|
|
||||||
$channelData = json_decode($payload->channel_data);
|
$channelData = json_decode($payload->channel_data);
|
||||||
$this->users[$channelData->user_id] = $channelData;
|
$this->users[$connection->socketId] = $channelData;
|
||||||
|
|
||||||
// Send the success event
|
// Send the success event
|
||||||
$connection->send(json_encode([
|
$connection->send(json_encode([
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue