|
|
|
|
@ -179,6 +179,11 @@ public class ProtocolProviderServiceJabberImpl
|
|
|
|
|
private static final String IS_CALLING_DISABLED
|
|
|
|
|
= "net.java.sip.communicator.impl.protocol.jabber.CALLING_DISABLED";
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Smack packet reply timeout.
|
|
|
|
|
*/
|
|
|
|
|
public static final int SMACK_PACKET_REPLY_TIMEOUT = 45000;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Used to connect to a XMPP server.
|
|
|
|
|
*/
|
|
|
|
|
@ -656,7 +661,7 @@ private ConnectState connectUsingSRVRecords(
|
|
|
|
|
* protocol is Google Talk, the user ID including the service name is used.
|
|
|
|
|
* For other protocols, if the login with the user ID without the service
|
|
|
|
|
* name fails, a second attempt including the service name is made.
|
|
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
* @param currentAddress the IP address to connect to
|
|
|
|
|
* @param password the password of the user
|
|
|
|
|
* @param serviceName the domain name of the user's login
|
|
|
|
|
@ -755,7 +760,7 @@ private void loadResource()
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Load the password from the account configuration or ask the user.
|
|
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
* @param authority SecurityAuthority
|
|
|
|
|
* @param reasonCode the authentication reason code. Indicates the reason of
|
|
|
|
|
* this authentication.
|
|
|
|
|
@ -820,7 +825,7 @@ private String loadPassword(SecurityAuthority authority, int reasonCode)
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Sets the global proxy information based on the configuration
|
|
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
* @throws OperationFailedException
|
|
|
|
|
*/
|
|
|
|
|
private void loadProxy() throws OperationFailedException
|
|
|
|
|
@ -1473,9 +1478,6 @@ protected void initialize(String screenname,
|
|
|
|
|
OperationSetGenericNotifications.class,
|
|
|
|
|
new OperationSetGenericNotificationsJabberImpl(this));
|
|
|
|
|
|
|
|
|
|
// let sufficient time for packet reply
|
|
|
|
|
SmackConfiguration.setPacketReplyTimeout(45000);
|
|
|
|
|
|
|
|
|
|
isInitialized = true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|