Use weak ref connection in PrivacyListManager

This commit is contained in:
Florian Schmaus 2014-12-30 20:20:41 +01:00
parent ecc13e2e91
commit 1d2f9749b6
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}