From 626db605c3fa2e2ee875f61b9dd14ced79c53a69 Mon Sep 17 00:00:00 2001 From: fritzy Date: Wed, 17 Dec 2008 17:50:35 +0000 Subject: [PATCH] * added the subscribe function git-svn-id: svn://netflint.net/xmpphp@74 ef36c318-a008-4979-b6e8-6b496270793b --- XMPPHP/XMPP.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/XMPPHP/XMPP.php b/XMPPHP/XMPP.php index 73fbd26..b3ef7f7 100644 --- a/XMPPHP/XMPP.php +++ b/XMPPHP/XMPP.php @@ -208,6 +208,15 @@ class XMPPHP_XMPP extends XMPPHP_XMLStream { $this->send($out); } + /** + * Send Auth request + * + * @param string $jid + */ + public function subscribe($jid) { + $this->send(""); + #$this->send(""); + } /** * Message handler