feat: add a quick reply workflow using the Ctrl+Up arrow key

neochat now supports a quick reply shortcut, which helps to reply to
the last event in a room.
This commit is contained in:
Srevin Saju
2021-04-04 21:50:30 +03:00
committed by Carl Schwan
parent e4ab2e565f
commit 78f7f815ca
7 changed files with 67 additions and 1 deletions

View File

@@ -18,6 +18,7 @@ Item {
signal fancyEffectsReasonFound(string fancyEffect)
signal messageSent()
signal editLastUserMessage()
signal replyPreviousUserMessage()
Kirigami.Theme.colorSet: Kirigami.Theme.View
@@ -157,6 +158,9 @@ Item {
onEditLastUserMessage: {
root.editLastUserMessage();
}
onReplyPreviousUserMessage: {
root.replyPreviousUserMessage();
}
}
function checkForFancyEffectsReason() {