* typeo fix

git-svn-id: svn://netflint.net/xmpphp@42 ef36c318-a008-4979-b6e8-6b496270793b
This commit is contained in:
fritzy 2008-05-16 18:22:49 +00:00
parent 8988f88683
commit 1f50a945f8

View File

@ -283,7 +283,7 @@ class XMPPHP_XMPP extends XMPPHP_XMLStream {
*/ */
public function getRoster() { public function getRoster() {
$id = $this->getID(); $id = $this->getID();
$this->addIdJHandler($id, 'roster_get_handler'); $this->addIdHandler($id, 'roster_get_handler');
$this->send("<iq xmlns='jabber:client' type='get' id='$id'><query xmlns='jabber:iq:roster' /></iq>"); $this->send("<iq xmlns='jabber:client' type='get' id='$id'><query xmlns='jabber:iq:roster' /></iq>");
} }