subscribe chat room

Hi,

I want to subscribe chat room to the user. So, after that chat room will be listed in the user's roster listing.
Is this possible by ejabberd_xmlrpc OR I need to do this in other way?

Please suggest.

Thanks

This is not how chat room

This is not how chat room works as defined in XEP-0045. You join a chat room by sending a standard presence, but you do not "subscribe" to chat room.

Please read XEP-0045 section "Entering a room": http://xmpp.org/extensions/xep-0045.html#enter

Hi, Many Thanks. You save my

Hi,

Many Thanks. You save my lot of time, now its clear to me.

Syndicate content