unmk2 / jaxl

Automatically exported from code.google.com/p/jaxl
GNU General Public License v3.0
0 stars 0 forks source link

Unsubscribe code not working #41

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I want to unsubscribe the user in the ejabberd server.

I have mentioned the code below,
$jaxl = new JAXL(array(
        'user'=>JAXLUSER,
        'pass'=>JAXLPASS,
        'host'=>JAXLHOST,
        'domain'=>JAXLDOMAIN,
        'authType'=>JAXLAUTHTYPE,
        'autoSubscribe'=>JAXLAUTOSUBSCRIBE,
        'pingInterval'=>JAXLPINGINTERVAL,
        'logLevel'=>JAXLLOGLEVEL
    ));

    function postAuth($payload, $jaxl) {
        global $argv;
        $jaxl->unsubscribe("EmailId");
        $jaxl->shutdown();
    }
    // Register callback on required hooks
    $jaxl->addPlugin('jaxl_post_auth', 'postAuth');
    // Fire start Jaxl core
    $jaxl->startCore("stream");

But the above code is not unsubscribe the members.Is unsubscribe is working in 
jaxl or i can use the ejabberd admin panel to remove the roster users manually.

Thank you,

Regards,
Prem

Original issue reported on code.google.com by premnath...@gmail.com on 9 Jun 2011 at 7:15

GoogleCodeExporter commented 9 years ago
Hello Friends,

I am no longer accepting issues/bugs on google code issue list.

Have any Question? Want to discuss? Need Help? Use Google Group/Forum.
https://groups.google.com/forum/#!forum/jaxl

Found something missing or a bug in the source code? Kindly report an issue.
https://github.com/abhinavsingh/JAXL/issues

Sorry for any inconvenience caused.

--
Abhinav

Original comment by mailsfor...@gmail.com on 12 Sep 2012 at 9:51