Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-client-windows
Commits
7f7893d6
Commit
7f7893d6
authored
Dec 09, 2019
by
Sébastien Blin
Browse files
videoview: do not send DTMF for Jami accounts
Change-Id: I655ee80a0f904e2e470291156cb9b89e9b2dc503 Gitlab: #515
parent
9bc98748
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/videoview.cpp
View file @
7f7893d6
...
...
@@ -475,9 +475,10 @@ void
VideoView
::
keyReleaseEvent
(
QKeyEvent
*
event
)
{
auto
convInfo
=
LRCInstance
::
getCurrentConversation
();
if
(
convInfo
.
uid
.
empty
())
{
if
(
convInfo
.
uid
.
empty
()
||
LRCInstance
::
getCurrentAccountInfo
().
profileInfo
.
type
!=
lrc
::
api
::
profile
::
Type
::
SIP
)
return
;
}
if
(
keyPressed_
==
static_cast
<
int
>
(
Qt
::
Key_NumberSign
))
{
LRCInstance
::
getCurrentCallModel
()
->
playDTMF
(
convInfo
.
callId
,
"#"
);
}
else
if
(
keyPressed_
==
static_cast
<
int
>
(
Qt
::
Key_Asterisk
))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment