{% import "macros.html" as m %} {% import "icons.html" as i %}
{{ i.ic('chevron-left') }} {% if dialog.others %}{% endif %}
{{ header_name }} {{ header_subtitle }}
{{ i.ic('video') }}{{ i.ic('phone') }}
{% for group in groups %}
{{ m.date_label(group.date) }}
{% for msg in group.messages %} {% set side = "self" if msg.is_self else "other" %} {% set t = msg.content.__class__.__name__ %} {% if t == 'System' %} {{ m.content_block(msg, caps, 'vb') }} {% else %}
{% if t == 'Text' and caps.supports(msg.content) %}
{% if msg.reply_to %}{{ m.reply_quote(msg.reply_to, 'vb') }}{% endif %} {{ msg.content.body }} {{ m.time_24(msg.timestamp) }}{% if msg.is_self %} {{ m.ticks(msg.status, 'vb-read') }}{% endif %}
{% elif t == 'Voice' and caps.supports(msg.content) %}
{{ m.voice_inner(msg.content) }}
{% else %}
{{ m.content_block(msg, caps, 'vb') }}
{% endif %}
{{ m.reactions(msg) }} {% endif %} {% endfor %} {% endfor %} {% if typing and dialog.others %}
{{ m.typing_dots() }}
{% endif %}
{{ i.ic('camera') }}
Type a message
{{ i.ic('smile') }} {{ i.ic('mic') }}