if (authOpSet != null
&& authOpSet.getSubscriptionStatus(protoContact) != null
&& !authOpSet.getSubscriptionStatus(protoContact)
.equals(SubscriptionStatus.Subscribed))
{
SubscriptionStatus status
= authOpSet.getSubscriptionStatus(protoContact);
if (status.equals(SubscriptionStatus.SubscriptionPending))
subscriptionDetails = GuiActivator.getResources()
.getI18NString("service.gui.WAITING_AUTHORIZATION");
else if (status.equals(SubscriptionStatus.NotSubscribed))
subscriptionDetails = GuiActivator.getResources()
.getI18NString("service.gui.NOT_AUTHORIZED");
}
else if (protoContact.getStatusMessage() != null
&& protoContact.getStatusMessage().length() > 0)