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:
parent
63ba2be8c9
commit
704ef1f9dc
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue