mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-10 17:49:38 +02:00
Remove deprecated methods from XMPPConnection
This commit is contained in:
parent
a203d3198c
commit
0602ae064a
5 changed files with 5 additions and 116 deletions
|
@ -62,7 +62,7 @@ public class ServiceAdministrationManager extends Manager {
|
|||
}
|
||||
|
||||
public RemoteCommand addUser() {
|
||||
return addUser(connection().getServiceName());
|
||||
return addUser(connection().getXMPPServiceDomain());
|
||||
}
|
||||
|
||||
public RemoteCommand addUser(Jid service) {
|
||||
|
@ -90,7 +90,7 @@ public class ServiceAdministrationManager extends Manager {
|
|||
}
|
||||
|
||||
public RemoteCommand deleteUser() {
|
||||
return deleteUser(connection().getServiceName());
|
||||
return deleteUser(connection().getXMPPServiceDomain());
|
||||
}
|
||||
|
||||
public RemoteCommand deleteUser(Jid service) {
|
||||
|
|
|
@ -151,7 +151,7 @@ public final class PingManager extends Manager {
|
|||
private boolean isValidErrorPong(Jid destinationJid, XMPPErrorException xmppErrorException) {
|
||||
// If it is an error error response and the destination was our own service, then this must mean that the
|
||||
// service responded, i.e. is up and pingable.
|
||||
if (destinationJid.equals(connection().getServiceName())) {
|
||||
if (destinationJid.equals(connection().getXMPPServiceDomain())) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue