Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Commit bb1a030

Browse files
committed
userLeftPresenceChannel gets automatically called
1 parent da7f1ba commit bb1a030

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/ChannelManagers/RedisChannelManager.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -200,15 +200,6 @@ public function unsubscribeFromChannel(ConnectionInterface $connection, string $
200200
}
201201
});
202202

203-
$this->getChannelMember($connection, $channelName)
204-
->then(function ($member) use ($connection, $channelName) {
205-
if ($member) {
206-
$this->userLeftPresenceChannel(
207-
$connection, json_decode($member), $channelName,
208-
);
209-
}
210-
});
211-
212203
$this->removeChannelFromSet($connection->app->id, $channelName);
213204

214205
$this->removeConnectionFromSet($connection);

0 commit comments

Comments
 (0)