This commit is contained in:
freek 2018-11-29 00:22:01 +01:00
parent ec6f82e487
commit 2c61a798f8
2 changed files with 6 additions and 0 deletions

View File

@ -28,6 +28,11 @@ class Channel
return count($this->subscriptions) > 0;
}
public function getSubscriptions(): array
{
return $this->subscriptions;
}
protected function verifySignature(ConnectionInterface $connection, stdClass $payload)
{
$signature = "{$connection->socketId}:{$this->channelId}";

View File

@ -37,6 +37,7 @@ class ChannelManager
if (starts_with($channelId, 'presence-')) {
return PresenceChannel::class;
}
return Channel::class;
}