@Override
public UiBuilder render(Conversation conversation, ParticipantId participant) {
Profile profile = profileManager.getProfile(participant);
String id = viewIdMapper.participantOf(conversation, participant);
// Use ParticipantAvatarViewBuilder for avatars.
ParticipantNameViewBuilder participantUi = ParticipantNameViewBuilder.create(id);
participantUi.setAvatar(profile.getImageUrl());
participantUi.setName(profile.getFullName());
return participantUi;
}