<!--comps/chat/chat.wxml-->
<view class="main" wx:if="{{!showEmedia&&!showmultiEmedia}}">
    <chat-msglist id="chat-msglist" username="{{username}}" bind:render="onRender" bind:clickMsg="onClickInviteMsg" bind:msglistTap="normalScroll"></chat-msglist>
</view>
<chat-inputbar id="chat-inputbar" username="{{username}}" chatType="{{chatType}}" bind:newTextMsg="saveSendMsg" bind:newImageMsg="saveSendMsg" bind:newLocationMsg="saveSendMsg" bind:newVideoMsg="saveSendMsg" bind:tapSendAudio="toggleRecordModal" bind:inputFocused="shortScroll" bind:inputBlured="normalScroll" bind:makeVideoCall="onMakeVideoCall" bind:makeAudioCall="onMakeAudioCall" style="display: {{inputbarVisible}}"></chat-inputbar>