diff options
Diffstat (limited to 'Swiften/Presence/SubscriptionManager.cpp')
-rw-r--r-- | Swiften/Presence/SubscriptionManager.cpp | 2 |
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()); |