How to retrieve the list of current users and message history of a muc room (without joining)

Hi,

Is it possible to retrieve the list of users currently in a muc room, along with the message history but without joining the room. Currently a call to disco#items is returning a valid packet, but missing the messages and users seen in a response that follows joining the same room.

Many thanks.
funkingburt

funkingburt wrote: Is it

funkingburt wrote:

Is it possible to retrieve the list of users currently in a muc room, ... but without joining the room.

Yes, if the room is public:
http://xmpp.org/extensions/xep-0045.html#disco-roomitems

Example:

<iq id='20:834408'
	xml:lang='es'
	type='get'
	to='room1@conference.localhost'>
  <query xmlns='http://jabber.org/protocol/disco#items'/>
<iq>

<iq from='room1@conference.localhost'
	to='user2@localhost/tka2'
	id='20:834408'
	type='result'>
  <query xmlns='http://jabber.org/protocol/disco#items'>
    <item jid='room1@conference.localhost/user1' name='user1'/>
  <query>
<iq>
funkingburt wrote:

along with the message history

No, that isn't implemented.

Syndicate content