git-svn-id: svn://netflint.net/xmpphp@22 ef36c318-a008-4979-b6e8-6b496270793b
This commit is contained in:
fritzy 2008-04-17 00:30:27 +00:00
parent a85c4ae2f5
commit 966185a9ea

View File

@ -51,7 +51,7 @@ class XMPP extends XMLStream {
function message_handler($xml) {
$payload['type'] = $xml->attrs['type'];
if(!$paytload['type']) $payload['type'] = 'chat';
if(!$payload['type']) $payload['type'] = 'chat';
$payload['from'] = $xml->attrs['from'];
$payload['body'] = $xml->sub('body')->data;
$this->log->log("Message: {$xml->sub('body')->data}", LOGGING_DEBUG);