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

@@ -158,9 +158,7 @@ RowLayout {
contextMenu.downloadAndOpen.connect(downloadAndOpen)
contextMenu.saveFileAs.connect(saveFileAs)
contextMenu.reply.connect(function() {
roomPanelInput.replyUser = author
roomPanelInput.replyEventID = eventId
roomPanelInput.replyContent = message
roomPanelInput.replyModel = model
roomPanelInput.isReply = true
roomPanelInput.focus()
})