Adds a check whether provider is registered in sip uri handler.

If not checked, after starting jitsi with parameter and it registers we end up with two calls(to call windows).
sip-call-params
damencho 10 years ago
parent f4a8a7d9a0
commit d66d0ddcf7

@ -351,7 +351,11 @@ public void run()
// Even if not registered after the timeout, try the call
// anyway and the error popup will appear to ask the
// user if they want to register
handleUri(uri, provider);
if(provider.getRegistrationState()
!= RegistrationState.REGISTERED)
{
handleUri(uri, provider);
}
}
}, initialRegistrationTimeout);
}

Loading…
Cancel
Save