Retrieves account display name from account id if not returned from the account info operationset.

cusax-fix
Damian Minkov 14 years ago
parent 7f5f544336
commit 305bf0ae6a

@ -905,7 +905,12 @@ public String getAccountDisplayName(ProtocolProviderService protocolProvider)
try
{
if (accountInfoOpSet != null)
return AccountInfoUtils.getDisplayName(accountInfoOpSet);
{
String displayName
= AccountInfoUtils.getDisplayName(accountInfoOpSet);
if(displayName != null && displayName.length() > 0)
return displayName;
}
}
catch(Throwable e)
{

Loading…
Cancel
Save