chat {{ 'collabspace.chat.title' | transloco }} {{ participantState.onlineCount() }} {{ 'collabspace.chat.online' | transloco }}
@if (messages().length === 0) {
chat

{{ 'collabspace.chat.empty' | transloco }}

} @for (msg of messages(); track msg.sentAt.toString() + msg.fromUserId) {
@if (!isMine(msg)) {
{{ msg.fromDisplayName.charAt(0).toUpperCase() }}
}
@if (!isMine(msg)) { {{ msg.fromDisplayName.split(' ')[0] }} }
{{ msg.text }}
{{ msg.sentAt | date: 'HH:mm' }}
}