Implement new "read only" room flag
While still maintaining the ability to answer polls and send reactions in channels (when "read only" is false)
This commit is contained in:
parent
1e31b0c24e
commit
371a5069af
10 changed files with 112 additions and 68 deletions
|
|
@ -8,7 +8,7 @@
|
|||
<div class="status">{{ event.status }}</div>
|
||||
</div>
|
||||
|
||||
<div class="op-button" ref="opbutton" v-if="!event.isRedacted() && !$matrix.currentRoomIsReadOnlyForUser">
|
||||
<div class="op-button" ref="opbutton" v-if="!event.isRedacted() && $matrix.userCanSendMessageInCurrentRoom">
|
||||
<v-btn id="btn-show-menu" icon @click.stop="showContextMenu($refs.opbutton)">
|
||||
<v-icon>more_vert</v-icon>
|
||||
</v-btn>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue