summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-11-17 18:01:43 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-11-17 18:01:43 (GMT)
commit0c3b6522c72a63fc7cee12e8412512cd2e9ae3bd (patch)
treea552d093057d639ece87895cb9606d92d1d649ec /Swiften/Presence/SubscriptionManager.cpp
parent0fbc0b78e0f12a1700470b9ca3def0f4cdd6a1ff (diff)
downloadswift-0c3b6522c72a63fc7cee12e8412512cd2e9ae3bd.zip
swift-0c3b6522c72a63fc7cee12e8412512cd2e9ae3bd.tar.bz2
Added presence subscription stanza to onPresenceSubscriptionRequest.
Removed unused signal on Client.
Diffstat (limited to 'Swiften/Presence/SubscriptionManager.cpp')
-rw-r--r--Swiften/Presence/SubscriptionManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Presence/SubscriptionManager.cpp b/Swiften/Presence/SubscriptionManager.cpp
index 12534dc..004309e 100644
--- a/Swiften/Presence/SubscriptionManager.cpp
+++ b/Swiften/Presence/SubscriptionManager.cpp
@@ -46,7 +46,7 @@ void SubscriptionManager::requestSubscription(const JID& jid) {
void SubscriptionManager::handleIncomingPresence(Presence::ref presence) {
JID bareJID(presence->getFrom().toBare());
if (presence->getType() == Presence::Subscribe) {
- onPresenceSubscriptionRequest(bareJID, presence->getStatus());
+ onPresenceSubscriptionRequest(bareJID, presence->getStatus(), presence);
}
else if (presence->getType() == Presence::Unsubscribe) {
onPresenceSubscriptionRevoked(bareJID, presence->getStatus());