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

@ -15,7 +15,7 @@
</v-avatar>
<!-- SLOT FOR CONTENT -->
<slot></slot>
<div class="op-button" ref="opbutton" v-if="!event.isRedacted()">
<div class="op-button" ref="opbutton" v-if="!event.isRedacted() && !$matrix.currentRoomIsReadOnlyForUser">
<v-btn id="btn-more" icon @click.stop="showContextMenu($refs.opbutton)">
<v-icon>more_vert</v-icon>
</v-btn>