Extra debug instrumentation for xmppdaemon
This commit is contained in:
parent
c7f14cd777
commit
71df23642c
@ -148,6 +148,7 @@ class XMPPDaemon extends Daemon
|
|||||||
|
|
||||||
function handle_message(&$pl)
|
function handle_message(&$pl)
|
||||||
{
|
{
|
||||||
|
$this->log(LOG_DEBUG, "Received message: " . str_replace("\n", " ", var_export($pl, true)));
|
||||||
$from = jabber_normalize_jid($pl['from']);
|
$from = jabber_normalize_jid($pl['from']);
|
||||||
|
|
||||||
if ($pl['type'] != 'chat') {
|
if ($pl['type'] != 'chat') {
|
||||||
|
Loading…
Reference in New Issue
Block a user