Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
savoirfairelinux
jami-lrc
Commits
68a8f179
Unverified
Commit
68a8f179
authored
Apr 03, 2020
by
Sébastien Blin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
callmodel: only setCurrentCall when in progress
Change-Id: I9378a59bd06f11d3001fbf4dab42bf3465e33769
parent
1d900c23
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
src/newcallmodel.cpp
src/newcallmodel.cpp
+1
-4
No files found.
src/newcallmodel.cpp
View file @
68a8f179
...
...
@@ -714,10 +714,7 @@ NewCallModelPimpl::slotCallStateChanged(const QString& callId, const QString& st
// NOTE: signal emission order matters, always emit CallStatusChanged before CallEnded
emit
linked
.
callStatusChanged
(
callId
,
code
);
if
(
call
->
status
==
call
::
Status
::
OUTGOING_RINGING
&&
linked
.
owner
.
profileInfo
.
type
!=
profile
::
Type
::
SIP
)
{
linked
.
setCurrentCall
(
callId
);
}
else
if
(
call
->
status
==
call
::
Status
::
ENDED
)
{
if
(
call
->
status
==
call
::
Status
::
ENDED
)
{
emit
linked
.
callEnded
(
callId
);
}
else
if
(
call
->
status
==
call
::
Status
::
IN_PROGRESS
)
{
if
(
previousStatus
==
call
::
Status
::
INCOMING_RINGING
...
...
Write
Preview
Markdown
is supported
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