{{> innerBackground}}
{{#hasGroupChat this.name}}{{else}}{{/hasGroupChat}}
{{#if message}} {{#each message}}
{{@key}}
{{#each this}} {{#hasCurrentUser this.from}} {{#js_compare "this.type == 'text'"}}
{{this.content}}{{#if this.isDeleted}}{{else}}{{/if}}
{{else}} {{#js_compare "this.type == 'Audio'"}}
{{#if this.isDeleted}}{{else}}{{/if}}
{{else}} {{#if this.isDeleted}}{{else}}
{{#js_compare "this.type == 'Map'"}}
{{#if this.isDeleted}}{{else}}{{/if}}
{{else}} {{#js_compare "this.type == 'Video'"}}
{{#if this.isDeleted}}{{else}}{{/if}}
{{else}}
{{#if this.isDeleted}}{{else}}{{/if}}
{{/js_compare}} {{/js_compare}}
{{/if}}{{/js_compare}} {{/js_compare}} {{else}} {{#js_compare "this.type == 'text'"}}
{{#hasGroupChat this.name}}

{{this.name}}

{{/hasGroupChat}}{{this.content}}
{{else}} {{#js_compare "this.type == 'Audio'"}}
{{else}}
{{#js_compare "this.type == 'Map'"}}
{{#hasGroupChat this.name}}

{{this.name}}

{{/hasGroupChat}}
{{else}} {{#js_compare "this.type == 'Video'"}}
{{#hasGroupChat this.name}}

{{this.name}}

{{/hasGroupChat}}
{{else}}
{{#hasGroupChat this.name}}

{{this.name}}

{{/hasGroupChat}}
{{/js_compare}} {{/js_compare}}
{{/js_compare}}{{/js_compare}} {{/hasCurrentUser}} {{/each}} {{/each}} {{/if}}