From bb1a03051add51f570e8b2fb6262155772c407fb Mon Sep 17 00:00:00 2001 From: Alex Renoki Date: Thu, 17 Sep 2020 14:17:55 +0300 Subject: [PATCH] userLeftPresenceChannel gets automatically called --- src/ChannelManagers/RedisChannelManager.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/ChannelManagers/RedisChannelManager.php b/src/ChannelManagers/RedisChannelManager.php index b8693b6..452aab7 100644 --- a/src/ChannelManagers/RedisChannelManager.php +++ b/src/ChannelManagers/RedisChannelManager.php @@ -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->removeConnectionFromSet($connection);