if (showRecipient)
{
StreamEntityDTO stream = activity.getDestinationStream();
if (stream.getType() == EntityType.RESOURCE)
{
renderers.add(new ResourceDestinationRenderer(activity));
}
else
{
renderers.add(new MetadataLinkRenderer("to", stream.getType(), stream.getUniqueIdentifier(), stream
.getDisplayName()));