[Telepathy-commits] [telepathy-qt4/master] ContactManager: Use message on subscribe/publish methods.
Andre Moreira Magalhaes (andrunko)
andre.magalhaes at collabora.co.uk
Wed Mar 4 13:57:44 PST 2009
---
TelepathyQt4/Client/contact-manager.cpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/TelepathyQt4/Client/contact-manager.cpp b/TelepathyQt4/Client/contact-manager.cpp
index 6df5f49..dd47bec 100644
--- a/TelepathyQt4/Client/contact-manager.cpp
+++ b/TelepathyQt4/Client/contact-manager.cpp
@@ -170,7 +170,7 @@ PendingOperation *ContactManager::requestContactsPresenceSubscription(
QSharedPointer<Channel> subscribeChannel =
mPriv->contactListsChannels[ContactListChannel::TypeSubscribe].channel;
- return subscribeChannel->groupAddContacts(contacts);
+ return subscribeChannel->groupAddContacts(contacts, message);
}
bool ContactManager::canRemoveContactsPresenceSubscription() const
@@ -194,7 +194,7 @@ PendingOperation *ContactManager::removeContactsPresenceSubscription(
QSharedPointer<Channel> subscribeChannel =
mPriv->contactListsChannels[ContactListChannel::TypeSubscribe].channel;
- return subscribeChannel->groupRemoveContacts(contacts);
+ return subscribeChannel->groupRemoveContacts(contacts, message);
}
bool ContactManager::canAuthorizeContactsPresencePublication() const
@@ -221,7 +221,7 @@ PendingOperation *ContactManager::authorizeContactsPresencePublication(
QSharedPointer<Channel> publishChannel =
mPriv->contactListsChannels[ContactListChannel::TypePublish].channel;
- return publishChannel->groupAddContacts(contacts);
+ return publishChannel->groupAddContacts(contacts, message);
}
bool ContactManager::canRemoveContactsPresencePublication() const
@@ -245,7 +245,7 @@ PendingOperation *ContactManager::removeContactsPresencePublication(
QSharedPointer<Channel> publishChannel =
mPriv->contactListsChannels[ContactListChannel::TypePublish].channel;
- return publishChannel->groupRemoveContacts(contacts);
+ return publishChannel->groupRemoveContacts(contacts, message);
}
bool ContactManager::canBlockContacts() const
--
1.5.6.5
More information about the telepathy-commits
mailing list