Fix sending encrypted messages in encrypted rooms when messages are disallowed
Fixes #1933
This commit is contained in:
parent
2bc2dfb64c
commit
f59f77a21e
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ Rectangle {
|
|||
|
||||
anchors.fill: parent
|
||||
spacing: 0
|
||||
visible: room ? room.permissions.canSend(MtxEvent.TextMessage) : false
|
||||
visible: room ? room.permissions.canSend(room.isEncrypted ? MtxEvent.Encrypted : MtxEvent.TextMessage) : false
|
||||
|
||||
ImageButton {
|
||||
Layout.alignment: Qt.AlignBottom
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue