in "pfccommand_update.class.php"
- Code: Select all
$c =& $this->c;
// do not update if user isn't active (have quit)
if ($c->active)
{
$cmd =& pfcCommand::Factory("updatemynick", $c);
$cmd->run($xml_reponse, $clientid);
$cmd =& pfcCommand::Factory("getonlinenick", $c);
$cmd->run($xml_reponse, $clientid);
$cmd =& pfcCommand::Factory("getnewmsg", $c);
$cmd->run($xml_reponse, $clientid);
# $xml_reponse->addScript("pfc.parseAndPost(blabla);");
}
$c->active is only true for the first time it is called
that is why i see the old messages, but when polling is done this value is always false, that is why i see no updates, can anyone give me a clue?