4

I am working on the chat application. I want to implement the group chat functionality in the web client. I have done things till group create and basic configuration and joining the group. I want to know if there is any extension developed Or any other way by which I can get the list of group which user has created or is member of. e.g in watsapp, any body can create group and add me as a member. how to konw which room i have been added as a member, is there any iq request in xmpp muc.

praveenraj
  • 774
  • 1
  • 9
  • 20
  • i have used xep 45 but this query retreives all available chat rooms, but i want specific room which i have created or i am a member of – praveenraj Nov 04 '14 at 09:45

1 Answers1

0

Your iq is close. You need to address the room, not the server.

var iq = $iq({
    type: 'get',
    from: 'userjid@jabber.server.com',
    to: 'roomname@conference.jabber.server.com'
    }).c('query', { xmlns: 'http://jabber.org/protocol/disco#items' });
Mark S
  • 869
  • 6
  • 11