app/views/conversations/_message.html.slim
li.conversation-message class=message_classes(alternate, message, current_user)
.conversation-message__avatar
= user_profile_picture message.sender, options: { class: 'border border-secondary-subtle rounded-1' }
.conversation-message__text
.float-end.me-2 = message_timestamp message
p.mb-0.font-weight-bold = link_to_if message.sender != current_user, message.sender, user_path(message.sender)
p.mb-0
span.pre-line = message.body.strip
- if message.sender == current_user && !message.unread?
br
= message_readat message