userLeftPresenceChannel gets automatically called
This commit is contained in:
parent
da7f1ba578
commit
bb1a03051a
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue