Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
b23a2af6
Commit
b23a2af6
authored
Nov 29, 2017
by
Benjamin REIS
Browse files
always update device event when subscribe received
parent
c172fec5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/conference/handlers/local-conference-event-handler.cpp
src/conference/handlers/local-conference-event-handler.cpp
+1
-1
No files found.
src/conference/handlers/local-conference-event-handler.cpp
View file @
b23a2af6
...
...
@@ -380,9 +380,9 @@ void LocalConferenceEventHandler::subscribeReceived (LinphoneEvent *lev) {
if
(
linphone_event_get_subscription_state
(
lev
)
==
LinphoneSubscriptionActive
)
{
unsigned
int
lastNotify
=
static_cast
<
unsigned
int
>
(
Utils
::
stoi
(
linphone_event_get_custom_header
(
lev
,
"Last-Notify-Version"
)));
device
->
setConferenceSubscribeEvent
(
lev
);
if
(
lastNotify
==
0
)
{
lInfo
()
<<
"Sending initial notify of conference:"
<<
d
->
conf
->
getConferenceAddress
().
asString
()
<<
" to: "
<<
device
->
getAddress
().
asString
();
device
->
setConferenceSubscribeEvent
(
lev
);
d
->
notifyFullState
(
d
->
createNotifyFullState
(),
device
);
}
else
if
(
lastNotify
<
d
->
lastNotify
)
{
lInfo
()
<<
"Sending all missed notify for conference:"
<<
d
->
conf
->
getConferenceAddress
().
asString
()
<<
...
...
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