{% 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) %}