Skip to content
This repository was archived by the owner on Jan 29, 2026. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions modules/chat/public/views/partials/inbox.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,15 @@
</a>
{% liquid
if other_participant
if other_participant.first_name
assign name = other_participant.first_name | append: ' ' | append: other_participant.last_name
assign participants = current_conversation.participants
assign current_participants = participants | select: id: current_profile.id
assign other_participants = participants | subtract_array: current_participants
assign from_profile = other_participants | first
if from_profile
if from_profile.first_name
assign name = from_profile.first_name | append: ' ' | append: from_profile.last_name
else
assign name = other_participant.name
assign name = from_profile.name
endif

render 'modules/common-styling/user/avatar', size: 's', name: name, imageSrc: other_participant.avatar.photo.versions.sm
Expand Down Expand Up @@ -153,4 +157,5 @@
{{ 'modules/chat/pick_conversation' | t }}
</div>
{% endif %}

</div>
Loading