* fixed small bugs

git-svn-id: svn://netflint.net/xmpphp@67 ef36c318-a008-4979-b6e8-6b496270793b
This commit is contained in:
fritzy
2008-11-26 10:16:33 +00:00
parent f2bfbe252c
commit fa46343378
2 changed files with 5 additions and 2 deletions

View File

@@ -65,7 +65,7 @@ class XMPPHP_BOSH extends XMPPHP_XMPP {
$body->addAttribute('to', $this->host);
$body->addAttribute('route', "xmpp:{$this->host}:{$this->port}");
$body->addAttribute('secure','true');
$body->addAttribute('version','1.6');
$body->addAttribute('xmpp:version','1.6', 'urn:xmpp:xbosh');
$body->addAttribute('wait', strval($wait));
$body->addAttribute('ack','1');
$body->addAttribute('xmlns:xmpp','urn:xmpp:xbosh');