{% for tag in chat['tags_messages'] %}
{{ tag }} {{ chat['tags_messages'][tag] }}
{% endfor %}
{% if chat['subchannels'] %}
Sub-Channels:
Icon |
Name |
ID |
First Seen |
Last Seen |
NB Messages |
{% for meta in chat["subchannels"] %}
|
{{ meta['name'] }} |
{{ meta['id'] }} |
{% if meta['first_seen'] %}
{{ meta['first_seen'][0:4] }}-{{ meta['first_seen'][4:6] }}-{{ meta['first_seen'][6:8] }}
{% endif %}
|
{% if meta['last_seen'] %}
{{ meta['last_seen'][0:4] }}-{{ meta['last_seen'][4:6] }}-{{ meta['last_seen'][6:8] }}
{% endif %}
|
{{ meta['nb_messages'] }} |
{% endfor %}
{% endif %}
{% if chat['messages'] %}
{% for date in chat['messages'] %}
{% for mess in chat['messages'][date] %}
{{ mess['hour'] }}
{% if mess['user-account']['username'] %}
{{ mess['user-account']['username']['id'] }}
{% else %}
{{ mess['user-account']['id'] }}
{% endif %}
{% if mess['reply_to'] %}
{% if mess['reply_to']['user-account']['username'] %}
{{ mess['reply_to']['user-account']['username']['id'] }}
{% else %}
{{ mess['reply_to']['user-account']['id'] }}
{% endif %}
{{ mess['reply_to']['content'] }}
{% for tag in mess['reply_to']['tags'] %}
{{ tag }}
{% endfor %}
{{ mess['reply_to']['date'] }}
{#
#}
{% endif %}
{{ mess['content'] }}
{% for tag in mess['tags'] %}
{{ tag }}
{% endfor %}
{% endfor %}
{% endfor %}
{% endif %}