{{#if subscribed}}
{{#with usersTyping}}
{{users}}
{{#if multi}}
{{#if selfTyping}}
{{_ "are_also_typing"}}
{{else}}
{{_ "are_typing"}}
{{/if}}
{{else}}
{{#if selfTyping}}
{{_ "is_also_typing" context="male"}}
{{else}}
{{_ "is_typing" context="male"}}
{{/if}}
{{/if}}
{{/with}}
{{#if allowedToSend}}
{{> messagePopupConfig getPopupConfig}}
{{#unless embeddedVersion}}
{{#if showFormattingTips}}
{{/if}}
{{/unless}}
{{else}}
{{#if isBlockedOrBlocker}}
{{_ "room_is_blocked"}}
{{else}}
{{_ "room_is_read_only"}}
{{/if}}
{{/if}}
{{else}}
{{#with notSubscribedTpl}}
{{> Template.dynamic . }}
{{else}}
{{#if canJoin}}
{{{_ "you_are_in_preview_mode_of" room_name=roomName}}}
{{#if joinCodeRequired}}
{{/if}}
{{/if}}
{{#if anonymousRead}}
{{#if anonymousWrite}}
{{/if}}
{{/if}}
{{/with}}
{{/if}}