Allow redaction of message only by admins and authors of the message
Previously you could click on the button but it would do nothing
This commit is contained in:
@@ -91,6 +91,7 @@ Kirigami.OverlaySheet {
|
||||
}
|
||||
}
|
||||
Kirigami.BasicListItem {
|
||||
visible: author.id === currentRoom.localUser.id || currentRoom.canSendState("redact")
|
||||
action: Kirigami.Action {
|
||||
text: i18n("Remove")
|
||||
icon.name: "edit-delete-remove"
|
||||
|
||||
Reference in New Issue
Block a user