{{#each messages}}
{{tz time}} {{#if from}} {{/if}} {{type}} {{#equal type "image"}} {{else}} {{{uri text}}} {{/equal}}
{{/each}}