{% import 'components/avatar.html' as avatar with context %}
{%- if msg.type != C.MESS_TYPE_INFO %} {%- set author = identities[msg.from_].nicknames[0] | default(msg.from_) -%} {{ avatar.avatar(msg.from_, "avatar--float-left") }} {{msg.timestamp|date_fmt('auto_day')}} {% endif -%} {{- msg.html or (msg.text|urlize(nofollow=true, target="_blank")) -}}