Index: src/XMPPRoster.h ================================================================== --- src/XMPPRoster.h +++ src/XMPPRoster.h @@ -87,10 +87,16 @@ * \brief An object for data storage, conforming to the XMPPStorage protocol. * * Inherited from the connection if not overridden. */ @property (assign) id dataStorage; + +/** + * \brief The list of contacts as an OFDictionary with the bare JID as a string + * as key. + */ +@property (readonly, copy) OFDictionary *rosterItems; #endif /** * \brief Initializes an already allocated XMPPRoster. * @@ -98,16 +104,10 @@ * are send and received over * \return An initialized XMPPRoster */ - initWithConnection: (XMPPConnection*)connection; -/** - * \brief Returns the list of contacts as an OFDictionary with the bare JID as - * a string as key. - * - * \return An autoreleased copy of the dictionary containing the roster items - */ - (OFDictionary*)rosterItems; /** * \brief Requests the roster from the server. */