Skip to content
Snippets Groups Projects
Commit 03a19145 authored by Yun Liu's avatar Yun Liu
Browse files

Fix the bug when user uncheck the account which fails in the previous registration

parent 6cc2fdc8
No related branches found
No related tags found
No related merge requests found
......@@ -183,8 +183,10 @@ SIPVoIPLink::sendUnregister()
{
_debug("SEND UNREGISTER for account %s\n" , getAccountID().c_str());
if(!_bRegister)
if(!_bRegister){
setRegistrationState(VoIPLink::Unregistered);
return true;
}
_bRegister = false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment