Extra debug instrumentation for xmppdaemon

This commit is contained in:
Brion Vibber 2010-01-19 12:26:59 -08:00
parent c7f14cd777
commit 71df23642c

View File

@ -148,6 +148,7 @@ class XMPPDaemon extends Daemon
function handle_message(&$pl)
{
$this->log(LOG_DEBUG, "Received message: " . str_replace("\n", " ", var_export($pl, true)));
$from = jabber_normalize_jid($pl['from']);
if ($pl['type'] != 'chat') {