{% import "macros.html" as m %} {% import "icons.html" as i %}
{{ i.ic('chevron-left') }} {% if dialog.others %}{% endif %}
{{ header_name }} {% if header_subtitle %}{{ header_subtitle }}{% endif %}
{{ 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, 'sig') }} {% else %}
{% if t == 'Text' and caps.supports(msg.content) %}
{% if msg.reply_to %}{{ m.reply_quote(msg.reply_to, 'sig') }}{% endif %}{{ msg.content.body }}{{ m.time_24(msg.timestamp) }}{% if msg.is_self %} {{ m.ticks(msg.status, 'sig-read') }}{% endif %}
{% elif t == 'Voice' and caps.supports(msg.content) %}
{{ m.voice_inner(msg.content) }}
{% else %}
{{ m.content_block(msg, caps, 'sig') }}
{% endif %}
{{ m.reactions(msg) }} {% endif %} {% endfor %} {% endfor %} {% if typing and dialog.others %}
{{ m.typing_dots() }}
{% endif %}
{{ i.ic('plus') }}
Signal message
{{ i.ic('camera') }} {{ i.ic('mic') }}