From 64dd03952d53e7516616737bbe4177003f1e18c6 Mon Sep 17 00:00:00 2001 From: Jonathan Schleifer Date: Sun, 11 Nov 2012 12:30:24 +0100 Subject: [PATCH] Make rosterItems a property. --- src/XMPPRoster.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/XMPPRoster.h b/src/XMPPRoster.h index 0bac3cd..702b052 100644 --- a/src/XMPPRoster.h +++ b/src/XMPPRoster.h @@ -89,6 +89,12 @@ * 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 /** @@ -100,12 +106,6 @@ */ - 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; /**