userLeftPresenceChannel gets automatically called

This commit is contained in:
Alex Renoki 2020-09-17 14:17:55 +03:00
parent da7f1ba578
commit bb1a03051a
1 changed files with 0 additions and 9 deletions

View File

@ -200,15 +200,6 @@ class RedisChannelManager extends LocalChannelManager
} }
}); });
$this->getChannelMember($connection, $channelName)
->then(function ($member) use ($connection, $channelName) {
if ($member) {
$this->userLeftPresenceChannel(
$connection, json_decode($member), $channelName,
);
}
});
$this->removeChannelFromSet($connection->app->id, $channelName); $this->removeChannelFromSet($connection->app->id, $channelName);
$this->removeConnectionFromSet($connection); $this->removeConnectionFromSet($connection);