Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jami-libclient
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
savoirfairelinux
jami-libclient
Commits
68a8f179
Unverified
Commit
68a8f179
authored
5 years ago
by
Sébastien Blin
Browse files
Options
Downloads
Patches
Plain Diff
callmodel: only setCurrentCall when in progress
Change-Id: I9378a59bd06f11d3001fbf4dab42bf3465e33769
parent
1d900c23
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/newcallmodel.cpp
+1
-4
1 addition, 4 deletions
src/newcallmodel.cpp
with
1 addition
and
4 deletions
src/newcallmodel.cpp
+
1
−
4
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment