diff --git a/scripts/xmppdaemon.php b/scripts/xmppdaemon.php index e55b9e3e9d..f460ec6e1a 100755 --- a/scripts/xmppdaemon.php +++ b/scripts/xmppdaemon.php @@ -161,7 +161,7 @@ class XMPPDaemon extends Daemon { } function get_ofrom($pl) { - $xml = $pl['raw']; + $xml = $pl['xml']; $addresses = $xml->sub('addresses'); if (!$addresses) { $this->log(LOG_WARNING, 'Forwarded message without addresses');