<?xml version="1.0" encoding="UTF-8"?>
<templates xml:space="preserve">
    <t t-inherit="mail.Composer" t-inherit-mode="extension">
        <xpath expr="//AttachmentList" position="after">
            <div t-if="thread?.model === 'discuss.channel' and !compact" class="o-discuss-Typing d-flex">
                <Typing channel="thread" size="'medium'"/>
            </div>
        </xpath>
        <xpath expr="//*[hasclass('o-mail-Composer-input')]" position="attributes">
            <attribute name="t-on-input">detectTyping</attribute>
        </xpath>
    </t>
</templates>
