ejabberd - Comments for "How to retrieve the list of current users and message history of a muc room (without joining)" https://www.ejabberd.im/node/4824 en funkingburt wrote: Is it https://www.ejabberd.im/node/4824#comment-57572 <div class="quote-msg"> <div class="quote-author"><em>funkingburt</em> wrote:</div> <p>Is it possible to retrieve the list of users currently in a muc room, ... but without joining the room. </p></div> <p>Yes, if the room is public:<br /> <noindex><a href="http://xmpp.org/extensions/xep-0045.html#disco-roomitems" title="http://xmpp.org/extensions/xep-0045.html#disco-roomitems" rel="nofollow" >http://xmpp.org/extensions/xep-0045.html#disco-roomitems</a></noindex></p> <p>Example:</p> <pre> &lt;iq id='20:834408' xml:lang='es' type='get' to='room1@conference.localhost'&gt; &lt;query xmlns='http://jabber.org/protocol/disco#items'/&gt; &lt;iq&gt; &lt;iq from='room1@conference.localhost' to='user2@localhost/tka2' id='20:834408' type='result'&gt; &lt;query xmlns='http://jabber.org/protocol/disco#items'&gt; &lt;item jid='room1@conference.localhost/user1' name='user1'/&gt; &lt;query&gt; &lt;iq&gt; </pre><div class="quote-msg"> <div class="quote-author"><em>funkingburt</em> wrote:</div> <p>along with the message history </p></div> <p>No, that isn't implemented.</p> Sat, 09 Jul 2011 11:57:42 +0000 mfoss comment 57572 at https://www.ejabberd.im