Readonly Room
Add readonly property to a room and use it to decide whether to show chatbar, replies and edits BUG: 479590
This commit is contained in:
@@ -158,7 +158,7 @@ Kirigami.Page {
|
||||
|
||||
footer: Loader {
|
||||
id: chatBarLoader
|
||||
active: timelineViewLoader.active && root.currentRoom.canSendEvent("m.room.message") // TODO make this update in real time
|
||||
active: timelineViewLoader.active && !root.currentRoom.readOnly
|
||||
sourceComponent: ChatBar {
|
||||
id: chatBar
|
||||
width: parent.width
|
||||
|
||||
Reference in New Issue
Block a user