// Find the Sametime Endpoint
String endpointName = stClient.getEndpoint();
if(StringUtil.isEmpty(endpointName)) {
endpointName = EndpointFactory.SERVER_SAMETIME;
}
Endpoint stServer = EndpointFactory.getEndpointUnchecked(endpointName);
if(stServer==null) {
//Platform.getInstance().log("Sametime server URL is undefined.");
return;
}
// Get the url of the Lotus Sametime proxy server
String linkurl = stServer.getUrl();
if(StringUtil.isEmpty(linkurl)) {
//Platform.getInstance().log("Sametime server URL is undefined.");
return;
}
if(linkurl.endsWith("/")) {