{{/* Equivalent of an "author info", but for chats; could be an author info or a group-chat. */}} {{define "chat-profile-image"}} {{if (eq .Type "ONE_TO_ONE")}} {{range .Participants}} {{if (ne .UserID (active_user).ID)}}
{{template "author-info" (user .UserID)}}
{{end}} {{end}} {{else}}
{{template "circle-profile-img-no-link" (dict "IsContentDownloaded" false "ProfileImageUrl" .AvatarImageRemoteURL)}}
{{.Name}}
{{end}} {{end}}