{{#if message}} {{#each message}}
{{else}} {{#js_compare "this.type == 'Audio'"}}
{{else}}
{{#if this.isDeleted}}{{else}}
{{else}} {{#js_compare "this.type == 'Audio'"}}
{{else}}
{{@key}}
{{#each this}} {{#hasCurrentUser this.from}} {{#js_compare "this.type == 'text'"}}
{{this.content}}{{#if this.isDeleted}}{{else}}{{/if}}
{{#if this.isDeleted}}{{else}}{{/if}}
{{#js_compare "this.type == 'Map'"}}
{{#if this.isDeleted}}{{else}}{{/if}} {{else}} {{#js_compare "this.type == 'Video'"}}
{{else}}
{{/js_compare}} {{/js_compare}}
{{/if}}{{/js_compare}} {{/js_compare}} {{else}} {{#js_compare "this.type == 'text'"}}
{{#if this.isDeleted}}{{else}}{{/if}}
{{#if this.isDeleted}}{{else}}{{/if}}
{{#hasGroupChat this.name}}
{{this.name}}
{{/hasGroupChat}}{{this.content}} {{#js_compare "this.type == 'Map'"}}
{{/js_compare}}{{/js_compare}} {{/hasCurrentUser}} {{/each}} {{/each}} {{/if}} {{#hasGroupChat this.name}}
![]()
{{else}} {{#js_compare "this.type == 'Video'"}}
{{this.name}}
{{/hasGroupChat}}{{#hasGroupChat this.name}}
{{else}}
{{this.name}}
{{/hasGroupChat}}{{#hasGroupChat this.name}}
{{/js_compare}} {{/js_compare}} {{this.name}}
{{/hasGroupChat}}