3
votes

I am using asmack library, and facing problem with multiuser chat request.

When sending a conference request, it is not going inside invitation listener, although same code is working with smack library in java.

While debugging it shows that I am receiving the message, but not providing me inside listener.

If anyone of you can help me in this, or at-least tell how to parse the received message which I am getting inside packet listener.

Following is the message :

<message from="[email protected]" to="user2@server">
<x xmlns="http://jabber.org/protocol/muc#user">
    <invite from="user1@server">
        <reason>Please join me in a conference</reason>
    </invite>
</x>
<x xmlns="jabber:x:conference" jid="[email protected]"/>

1
Please help me how you add listener for invitation received for the MUC. please help me to do..Ajay S
The asmack library of android does not works properly, however the java one works perfectly.viv
Thanks !!How you managed to get joined rooms of particular user using asmack API..Ajay S
I don't remember it now, may be this link will help : igniterealtime.org/builds/smack/docs/latest/documentation/…viv

1 Answers

1
votes

It sounds like the according Providers aren't initialized.

aSmack's Readme did tell you to init the static code of smack, which will initialize the Providers. Did you run the code before doing any XMPP related actions?