Implement sending voice messages

This commit is contained in:
Tobias Fella
2026-02-14 16:04:22 +00:00
committed by Joshua Goins
parent 3d07f723c8
commit 593ad27e8c
6 changed files with 262 additions and 0 deletions

View File

@@ -150,6 +150,19 @@ QQC2.Control {
}
tooltip: text
},
BusyAction {
icon.name: "microphone"
isBusy: false
text: i18nc("@action:button", "Send a Voice Message")
displayHint: QQC2.AbstractButton.IconOnly
onTriggered: {
let dialog = voiceMessageDialog.createObject(root, {
room: root.currentRoom
}) as VoiceMessageDialog;
dialog.open();
}
tooltip: text
},
BusyAction {
id: sendAction
@@ -548,6 +561,11 @@ QQC2.Control {
NewPollDialog {}
}
Component {
id: voiceMessageDialog
VoiceMessageDialog {}
}
CompletionMenu {
id: completionMenu
chatDocumentHandler: documentHandler