diff options
author | CH Chethan Reddy <40890937+Chethan2k1@users.noreply.github.com> | 2020-08-30 22:27:14 +0530 |
---|---|---|
committer | CH Chethan Reddy <40890937+Chethan2k1@users.noreply.github.com> | 2020-08-30 22:27:14 +0530 |
commit | b174bd938084a60fde5030dfc4dd0067a39f5a3f (patch) | |
tree | 6f2bb24fb2ba01adb2957aea67aecda501aa41ac /resources/qml/delegates/MessageDelegate.qml | |
parent | Change the tag for mtxclient (diff) | |
parent | Merge pull request #265 from trilene/voip (diff) | |
download | nheko-b174bd938084a60fde5030dfc4dd0067a39f5a3f.tar.xz |
Merge remote-tracking branch 'upstream/master' into device-verification
Diffstat (limited to 'resources/qml/delegates/MessageDelegate.qml')
-rw-r--r-- | resources/qml/delegates/MessageDelegate.qml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/resources/qml/delegates/MessageDelegate.qml b/resources/qml/delegates/MessageDelegate.qml index c556a978..ff025730 100644 --- a/resources/qml/delegates/MessageDelegate.qml +++ b/resources/qml/delegates/MessageDelegate.qml @@ -97,6 +97,30 @@ Item { } } DelegateChoice { + roleValue: MtxEvent.CallInvite + NoticeMessage { + text: qsTr("%1 placed a %2 call.").arg(model.data.userName).arg(model.data.callType) + } + } + DelegateChoice { + roleValue: MtxEvent.CallAnswer + NoticeMessage { + text: qsTr("%1 answered the call.").arg(model.data.userName) + } + } + DelegateChoice { + roleValue: MtxEvent.CallHangUp + NoticeMessage { + text: qsTr("%1 ended the call.").arg(model.data.userName) + } + } + DelegateChoice { + roleValue: MtxEvent.CallCandidates + NoticeMessage { + text: qsTr("Negotiating call...") + } + } + DelegateChoice { // TODO: make a more complex formatter for the power levels. roleValue: MtxEvent.PowerLevels NoticeMessage { |