[telepathy-qt4/master] ContactManager: Explicitly say that addGroup succeeds if the group already exists.

Andre Moreira Magalhaes (andrunko) andre.magalhaes at collabora.co.uk
Thu Jul 23 10:56:14 PDT 2009


---
 TelepathyQt4/contact-manager.cpp |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/TelepathyQt4/contact-manager.cpp b/TelepathyQt4/contact-manager.cpp
index c18724e..9b45471 100644
--- a/TelepathyQt4/contact-manager.cpp
+++ b/TelepathyQt4/contact-manager.cpp
@@ -212,6 +212,9 @@ QStringList ContactManager::allKnownGroups() const
  * so disconnecting from the server and reconnecting might cause empty groups to
  * vanish.
  *
+ * The returned pending operation will finish successfully if the group already
+ * exists.
+ *
  * \param group Group name.
  * \return A pending operation which will return when an attempt has been made
  *         to add an user-defined contact list group.
-- 
1.5.6.5




More information about the telepathy-commits mailing list