{{> innerBackground}}
{{#hasGroupChat this.name}}{{else}}{{/hasGroupChat}}
{{#if message}} {{#each message}}
{{@key}}
{{#each this}} {{#hasCurrentUser this.from}} {{#js_compare "this.type == 'text'"}}
{{this.content}}
{{else}} {{#js_compare "this.type == 'Audio'"}}
{{else}}
{{#js_compare "this.type == 'Map'"}}
{{else}} {{#js_compare "this.type == 'Video'"}}
{{else}}
{{/js_compare}} {{/js_compare}}
{{/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}}