mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-09-10 18:59:41 +02:00
Change SmackExecutorthreadFactory constructor parameter to XMPPConnection
This commit is contained in:
parent
7c3f4b7129
commit
17103def0b
3 changed files with 9 additions and 7 deletions
|
@ -119,7 +119,7 @@ public final class PingManager extends Manager {
|
|||
private PingManager(XMPPConnection connection) {
|
||||
super(connection);
|
||||
executorService = Executors.newSingleThreadScheduledExecutor(
|
||||
new SmackExecutorThreadFactory(connection.getConnectionCounter(), "Ping"));
|
||||
new SmackExecutorThreadFactory(connection, "Ping"));
|
||||
ServiceDiscoveryManager sdm = ServiceDiscoveryManager.getInstanceFor(connection);
|
||||
sdm.addFeature(Ping.NAMESPACE);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue