* type-o
git-svn-id: svn://netflint.net/xmpphp@22 ef36c318-a008-4979-b6e8-6b496270793b
This commit is contained in:
parent
a85c4ae2f5
commit
966185a9ea
2
xmpp.php
2
xmpp.php
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user