Skip to content
Snippets Groups Projects
Commit 5f042df9 authored by Guillaume Roguez's avatar Guillaume Roguez Committed by Andreas Traczyk
Browse files

fix IP2IP account signal at creation


When IP2IP account is created only AccountsChanged signal is emited.
But doRegister() method is called and this kind of account must succeed
on such (as there is no registration) and must call
setRegistrationState(RegistrationState::REGISTERED) to make aware the client
on this event.
This was not done. This patch adds this call.

Change-Id: Ic5b8a31d9e2b98dd96ed394247f77bbfa3d8cdde
Reviewed-by: default avatarAndreas Traczyk <andreas.traczyk@savoirfairelinux.com>
parent 6fa37b57
No related branches found
No related tags found
No related merge requests found
......@@ -806,6 +806,7 @@ void SIPAccount::doRegister2_()
setTransport(link_->sipTransportBroker->getUdpTransport(
SipTransportDescr { getTransportType(), getLocalPort(), getLocalInterface() }
));
setRegistrationState(RegistrationState::REGISTERED);
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment