Fix deletion of images

Fixes #322
This commit is contained in:
Arnav Rawat
2021-03-29 16:30:27 -05:00
committed by Carl Schwan
parent 997972a3d3
commit 4f52c5293b

View File

@@ -92,7 +92,7 @@ Image {
roomPanelInput.isReply = true roomPanelInput.isReply = true
roomPanelInput.focus() roomPanelInput.focus()
}) })
contextMenu.redact.connect(function() { contextMenu.remove.connect(function() {
currentRoom.redactEvent(eventId) currentRoom.redactEvent(eventId)
}) })
contextMenu.popup() contextMenu.popup()