Fix problems with read only room flag

A reload would cause the prop to not be set.
This commit is contained in:
N-Pex 2023-05-11 11:07:13 +02:00
parent 817ca0c801
commit d66d4c781d
4 changed files with 13 additions and 4 deletions

View file

@ -113,7 +113,7 @@
{{ typingMembersString }}
</div>
</v-row>
<v-row class="input-area-inner align-center" v-if="!showRecorder">
<v-row class="input-area-inner align-center" v-if="!showRecorder && !$matrix.currentRoomIsReadOnlyForUser">
<v-col class="flex-grow-1 flex-shrink-1 ma-0 pa-0">
<v-textarea height="undefined" ref="messageInput" full-width auto-grow rows="1" v-model="currentInput"
no-resize class="input-area-text" :placeholder="$t('message.your_message')" hide-details