How can I get user's presence from a XMPP external Component (using Whack)?


I am developing an external component and I want to receive the presence status from all users. How can I implement this? Do I have to subscribe the component to the roster of every user?

Thanks in advance.