title: How to fetch room list of particular user xmpp?
body: <p>I'm fetching user room list and it fetch all created rooms. But i want only room list that user have. </p>
  
  <p>Here is the code that im using : </p>
  
  <pre><code>-(void) getListofRooms
  {
      NSString* server = @"conference.test";
      XMPPJID *servrJID = [XMPPJID jidWithString:server];
      XMPPIQ *iq = [XMPPIQ iqWithType:@"get" to:servrJID];
  
      [iq addAttributeWithName:@"from" stringValue:[xmppStream myJID].full];
  
      NSXMLElement *query = [NSXMLElement elementWithName:@"query"];
      [query addAttributeWithName:@"xmlns" stringValue:@"http://jabber.org/protocol/disco#items"];
      [iq addChild:query];
  
      [xmppStream sendElement:iq];
  }
  </code></pre>
  
  <p>Here is my XML responce : </p>
  
  <pre><code>RECV: &lt;iq xmlns="jabber:client" type="result" from="conference.test" to="user@test/2ufrroh7xi"&gt;
      &lt;query xmlns="http://jabber.org/protocol/disco#items"&gt;
      &lt;item jid="ios@conference.test" name="ios"/&gt;
      &lt;item jid="newroom@conference.test" name="newRoomNatureName"/&gt;
      &lt;item jid="jay@conference.test" name="jay"/&gt;
      &lt;item jid="crs@conference.test" name="aaa"/&gt;
      &lt;item jid="newRoom@conference.test" name="newRoomNatureName"/&gt;
      &lt;/query&gt;
      &lt;/iq&gt;
  </code></pre>