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:
@@ -172,7 +172,7 @@ Video {
|
||||
}
|
||||
|
||||
onSecondaryClicked: {
|
||||
var contextMenu = imageDelegateContextMenu.createObject(vid)
|
||||
var contextMenu = imageDelegateContextMenu.createObject(vid, {'room': currentRoom, 'author': author})
|
||||
contextMenu.viewSource.connect(function() {
|
||||
messageSourceSheet.createObject(ApplicationWindow.overlay, {"sourceText": toolTip}).open()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user