From 1d2f9749b6106e5e6904a946c66fea3bb0b8a5cb Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Tue, 30 Dec 2014 20:20:41 +0100 Subject: [PATCH] Use weak ref connection in PrivacyListManager --- .../org/jivesoftware/smackx/privacy/PrivacyListManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/privacy/PrivacyListManager.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/privacy/PrivacyListManager.java index 408fadf52..fbbeed8b3 100644 --- a/smack-extensions/src/main/java/org/jivesoftware/smackx/privacy/PrivacyListManager.java +++ b/smack-extensions/src/main/java/org/jivesoftware/smackx/privacy/PrivacyListManager.java @@ -107,7 +107,7 @@ public class PrivacyListManager extends Manager { // Send a result package acknowledging the reception of a privacy package. IQ iq = IQ.createResultIQ(privacy); - connection.sendPacket(iq); + connection().sendPacket(iq); } }, PACKET_FILTER); }