1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-30 10:12:06 +01:00

PingManager: Don't register IQProvider since this is done by smack.providers already. This line was actually a leftover from aSmack development.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13406 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Florian Schmaus 2013-01-25 00:13:40 +00:00 committed by flow
parent 63ba2be8c9
commit 704ef1f9dc

View file

@ -61,7 +61,6 @@ public class PingManager {
Collections.synchronizedMap(new WeakHashMap<Connection, PingManager>()); Collections.synchronizedMap(new WeakHashMap<Connection, PingManager>());
static { static {
ProviderManager.getInstance().addIQProvider(ELEMENT, NAMESPACE, new PingProvider());
Connection.addConnectionCreationListener(new ConnectionCreationListener() { Connection.addConnectionCreationListener(new ConnectionCreationListener() {
public void connectionCreated(Connection connection) { public void connectionCreated(Connection connection) {
new PingManager(connection); new PingManager(connection);