Clean up reply.

This commit is contained in:
Black Hat
2019-07-12 12:36:00 +08:00
parent 317222171d
commit a5d7dc396f
5 changed files with 9 additions and 18 deletions

View File

@@ -98,9 +98,7 @@ ColumnLayout {
messageSourceDialog.createObject(ApplicationWindow.overlay, {"sourceText": toolTip}).open()
})
contextMenu.reply.connect(function() {
roomPanelInput.replyUser = author
roomPanelInput.replyEventID = eventId
roomPanelInput.replyContent = contentLabel.selectedText || message
roomPanelInput.replyModel = model
roomPanelInput.isReply = true
roomPanelInput.focus()
})