Commit b62058b4 authored by Mat's avatar Mat

rafraichit la liste, mais pour tous les utilisateurs (realtime)

parent 97eaf044
......@@ -144,7 +144,12 @@ class ChatHub implements MessageComponentInterface
'view' => $partialView
));
$from->send($response);
// renvoie la réponse à tous les clients
foreach ($this->clients as $client)
{
$from->send($response);
}
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment