diff --git a/include/transport/rostermanager.h b/include/transport/rostermanager.h index 81934f788efa3a4511a0ba3149df670c78b6b6e4..64f05fa70f63d9a7b642547f617c952813fed9df 100644 --- a/include/transport/rostermanager.h +++ b/include/transport/rostermanager.h @@ -49,6 +49,7 @@ class AddressedRosterRequest : public Swift::GenericRequest, boost::pool_allocator< std::pair > > BuddiesMap; /// Creates new RosterManager. /// \param user User associated with this RosterManager. /// \param component Transport instance associated with this roster. @@ -80,6 +81,10 @@ class RosterManager { /// \return User User *getUser() { return m_user; } + const BuddiesMap &getBuddies() { + return m_buddies; + } + bool isRemoteRosterSupported() { return m_supportRemoteRoster; }