mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-04-20 19:08:30 +00:00
Update SDK
This commit is contained in:
parent
d747711769
commit
4e1fab0df5
2 changed files with 11 additions and 9 deletions
|
|
@ -85,14 +85,16 @@ void CoreHandlers::onAuthenticationRequested (
|
||||||
const shared_ptr<linphone::AuthInfo> &authInfo,
|
const shared_ptr<linphone::AuthInfo> &authInfo,
|
||||||
linphone::AuthMethod
|
linphone::AuthMethod
|
||||||
) {
|
) {
|
||||||
auto configList = core->getProxyConfigList();
|
if( authInfo ) {
|
||||||
auto config = configList.begin() ;
|
auto configList = core->getProxyConfigList();
|
||||||
std::string username = authInfo->getUsername();
|
auto config = configList.begin() ;
|
||||||
std::string domain = authInfo->getDomain();
|
std::string username = authInfo->getUsername();
|
||||||
while(config != configList.end() && ((*config)->getContact()->getUsername() != username || (*config)->getContact()->getDomain() != domain))
|
std::string domain = authInfo->getDomain();
|
||||||
++config;
|
while(config != configList.end() && ((*config)->getContact()->getUsername() != username || (*config)->getContact()->getDomain() != domain))
|
||||||
if( config != configList.end() )
|
++config;
|
||||||
emit authenticationRequested(authInfo);// Send authentification request only if a proxy still exists
|
if( config != configList.end() )
|
||||||
|
emit authenticationRequested(authInfo);// Send authentification request only if a proxy still exists
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CoreHandlers::onCallEncryptionChanged (
|
void CoreHandlers::onCallEncryptionChanged (
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit b0d6e1cc4a94e13c6e6575f1fd9a66040776a0d8
|
Subproject commit 46174d76354f6031089ef9955edddc2ed2f40623
|
||||||
Loading…
Add table
Reference in a new issue