{{#if is_stream}} {{> inbox_stream_header_row}} {{else}}
{{#if is_direct}} {{#if is_bot}} {{else if is_group}} {{else}} {{/if}} {{{rendered_dm_with}}}
{{unread_count}}
{{else if is_topic}} {{!-- Invisible user circle element for alignment of topic text with DM user name --}} @
{{unread_count}}
{{/if}}
{{#unless is_direct}}
{{#if is_topic}} {{#if development}} {{#if (eq visibility_policy all_visibility_policies.FOLLOWED)}} {{else if (eq visibility_policy all_visibility_policies.UNMUTED)}} {{else if (eq visibility_policy all_visibility_policies.MUTED)}} {{else}} {{/if}} {{else}} {{#if stream_muted}} {{else}} {{/if}} {{/if}} {{/if}}
{{/unless}}
{{/if}}