powered by Jive Software

RoomInfo and Supported Server

Hi,

I am trying to get RoomInfo from the Jabber Server. Jive Messenger

returns the results as expected. However, the RoomInfo.getOccupantsCount()

always returns -1 form jabber.com and jabber.org.

Any idea?

Thanks,

Scott

Hey Scott,

The reason for that is that other servers may not have implemented “Extended Disco Info Results” since it is an optional feature. Follow this link to read more about the spec http://www.jabber.org/jeps/jep-0045.html#discovery (example 7).

Regards,

– Gato