|
|
|
|
@ -161,6 +161,11 @@ public class ConfigurationUtils
|
|
|
|
|
*/
|
|
|
|
|
private static boolean isAddContactDisabled;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Indicates if the merge contact functionality is disabled.
|
|
|
|
|
*/
|
|
|
|
|
private static boolean isMergeContactDisabled;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Indicates if the go to chatroom functionality is disabled.
|
|
|
|
|
*/
|
|
|
|
|
@ -644,6 +649,13 @@ public static void loadGuiConfigurations()
|
|
|
|
|
"CONTACT_ADD_DISABLED",
|
|
|
|
|
false);
|
|
|
|
|
|
|
|
|
|
// Load the "MERGE_CONTACT_DISABLED" property.
|
|
|
|
|
isMergeContactDisabled
|
|
|
|
|
= configService.getBoolean(
|
|
|
|
|
"net.java.sip.communicator.impl.gui.main.contactlist." +
|
|
|
|
|
"CONTACT_MERGE_DISABLED",
|
|
|
|
|
false);
|
|
|
|
|
|
|
|
|
|
// Load the "CREATE_GROUP_DISABLED" property.
|
|
|
|
|
isCreateGroupDisabled
|
|
|
|
|
= configService.getBoolean(
|
|
|
|
|
@ -1184,6 +1196,17 @@ public static boolean isAddContactDisabled()
|
|
|
|
|
return isAddContactDisabled;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Returns <code>true</code> if the "MERGE_CONTACT_DISABLED" property is
|
|
|
|
|
* true, otherwise - returns <code>false</code>.
|
|
|
|
|
* @return <code>true</code> if the "MERGE_CONTACT_DISABLED" property is
|
|
|
|
|
* true, otherwise - returns <code>false</code>.
|
|
|
|
|
*/
|
|
|
|
|
public static boolean isMergeContactDisabled()
|
|
|
|
|
{
|
|
|
|
|
return isMergeContactDisabled;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Returns <code>true</code> if the "CREATE_GROUP_DISABLED" property is
|
|
|
|
|
* true, otherwise - returns <code>false</code>..
|
|
|
|
|
|