boolean isComment=false;
List<AtomReplyTo> recs=activity.getRecipients();
Iterator<AtomReplyTo> itRecipients=recs.iterator();
while (itRecipients.hasNext()){
AtomReplyTo recipient=itRecipients.next();
if (recipient.getHref().contains("?;node"))
isComment=true;
}
if ((!isComment) && (activity.hasRecipients())) {
authorWrapper.add(new StyledLabel("separator", " " + uiText.To() + " "));
Iterator<AtomReplyTo> recipients = activity.getRecipients()
.iterator();
while (recipients.hasNext()) {
final AtomReplyTo recipient = recipients.next();
final String recipientJID = recipient.getHref();
final StyledLabel label = new StyledLabel("link", recipientJID);
label.setTitle(uiText.ViewProfileOf() + recipientJID);
service.getProfile(recipientJID,
new RequestCallback<Profile>() {