Commit 688a9f3e authored by Armando Jagucki's avatar Armando Jagucki Committed by ajagucki

PEP: Corrected automatic PEP service subscription cancelling.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/branches@8918 b35dd754-fafc-0310-a699-88a17e54d16e
parent 0647675c
......@@ -463,6 +463,10 @@ public class IQPEPHandler extends IQHandler implements ServerIdentitiesProvider,
Log.debug("PEP: " + unsubscriberJID + " subscription to " + recipientJID + "'s PEP service was cancelled.");
}
}
// In the case of both users being local, we must also cancel recipientJID's subscription
// to unsubscriberJID's PEP service, if it exists.
unsubscribedToPresence(recipientJID, unsubscriberJID);
}
public void unavailableSession(ClientSession session, Presence presence) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment