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-daemon
Commits
3d4c1e36
Commit
3d4c1e36
authored
Apr 19, 2010
by
Alexandre Savard
Browse files
[#3247] Fix conference test for detached participant
parent
9e4b49b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
sflphone-client-gnome/src/actions.c
View file @
3d4c1e36
...
...
@@ -950,13 +950,16 @@ sflphone_place_call ( callable_obj_t * c )
void
sflphone_detach_participant
(
const
gchar
*
callID
)
{
DEBUG
(
"sflphone detach participant from conference"
);
DEBUG
(
"Action: Detach participant from conference"
);
if
(
callID
==
NULL
)
{
callable_obj_t
*
selectedCall
=
calltab_get_selected_call
(
current_calls
);
DEBUG
(
" sflphone_detach_participant %s
\n
"
,
selectedCall
->
_callID
);
DEBUG
(
"Action: Detach participant %s"
,
selectedCall
->
_callID
);
if
(
selectedCall
->
_confID
)
{
g_free
(
selectedCall
->
_confID
);
selectedCall
->
_confID
=
NULL
;
}
calltree_remove_call
(
current_calls
,
selectedCall
,
NULL
);
calltree_add_call
(
current_calls
,
selectedCall
,
NULL
);
...
...
@@ -964,7 +967,12 @@ sflphone_detach_participant(const gchar* callID)
}
else
{
callable_obj_t
*
selectedCall
=
calllist_get
(
current_calls
,
callID
);
DEBUG
(
" sflphone_detach_participant %s
\n
"
,
callID
);
DEBUG
(
"Action: Darticipant %s"
,
callID
);
if
(
selectedCall
->
_confID
)
{
g_free
(
selectedCall
->
_confID
);
selectedCall
->
_confID
=
NULL
;
}
calltree_remove_call
(
current_calls
,
selectedCall
,
NULL
);
calltree_add_call
(
current_calls
,
selectedCall
,
NULL
);
...
...
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